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 <a.p.zijlstra@chello.nl>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: David S. Miller <davem@davemloft.net>
LKML-Reference: <new-submission>
Signed-off-by:
Ingo Molnar <mingo@elte.hu>
Showing
- include/linux/kernel.h 0 additions, 2 deletionsinclude/linux/kernel.h
- include/linux/net.h 1 addition, 0 deletionsinclude/linux/net.h
- kernel/printk.c 1 addition, 0 deletionskernel/printk.c
- kernel/sysctl.c 3 additions, 0 deletionskernel/sysctl.c
- lib/ratelimit.c 1 addition, 1 deletionlib/ratelimit.c
- net/core/sysctl_net_core.c 2 additions, 0 deletionsnet/core/sysctl_net_core.c
- net/core/utils.c 2 additions, 0 deletionsnet/core/utils.c
Loading
Please register or sign in to comment