printk: Remove ratelimit.h from kernel.h
commit3fff4c42bd0a89869a0eb1e7874cc06ffa4aa0f5
authorIngo Molnar <mingo@elte.hu>
Tue, 22 Sep 2009 14:18:09 +0000 (22 16:18 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 22 Sep 2009 14:18:09 +0000 (22 16:18 +0200)
tree67c476b8aa52a2f5d17dc9b94da360e10d373bd5
parentedaac8e3167501cda336231d00611bf59c164346
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>
include/linux/kernel.h
include/linux/net.h
kernel/printk.c
kernel/sysctl.c
lib/ratelimit.c
net/core/sysctl_net_core.c
net/core/utils.c