Skip to content
Commit 86e4ca66 authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
parent 90e62474
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment