]> git.baikalelectronics.ru Git - kernel.git/commit
bug.h: Move ratelimit warn interfaces to ratelimit.h
authorDavid S. Miller <davem@davemloft.net>
Thu, 26 May 2011 19:00:31 +0000 (15:00 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 May 2011 19:00:31 +0000 (15:00 -0400)
commit0737cb36851c01af3c6d02e4c78aae12f379ea57
treec0192a77bea66f9e58b62a17f9ddd8ce0fb64233
parent0a58c1e44d95520100afe727457e3063cec2cbbc
bug.h: Move ratelimit warn interfaces to ratelimit.h

As reported by Ingo Molnar, we still have configuration combinations
where use of the WARN_RATELIMIT interfaces break the build because
dependencies don't get met.

Instead of going down the long road of trying to make it so that
ratelimit.h can get included by kernel.h or asm-generic/bug.h,
just move the interface into ratelimit.h and make users have
to include that.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
include/asm-generic/bug.h
include/linux/ratelimit.h
net/core/filter.c