mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
printk: Remove ratelimit.h from kernel.h
Decouple kernel.h from ratelimit.h: the global declaration of printk's ratelimit_state is not needed, and it leads to messy circular dependencies due to ratelimit.h's (new) adding of a spinlock_types.h include. Cc: Peter Zijlstra <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: David S. Miller <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
edaac8e316
commit
3fff4c42bd
7 changed files with 10 additions and 3 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include <linux/bootmem.h>
|
||||
#include <linux/syscalls.h>
|
||||
#include <linux/kexec.h>
|
||||
#include <linux/ratelimit.h>
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue