Messages in this thread | | | Date | Fri, 23 Oct 2009 16:55:09 +0200 | From | Ingo Molnar <> | Subject | Re: [RFC/PATCH] ratelimit: make output more useful |
| |
* Christian Borntraeger <borntraeger@de.ibm.com> wrote:
> Index: tip/include/linux/kernel.h > =================================================================== > --- tip.orig/include/linux/kernel.h > +++ tip/include/linux/kernel.h > @@ -16,6 +16,7 @@ > #include <linux/log2.h> > #include <linux/typecheck.h> > #include <linux/dynamic_debug.h> > +#include <linux/ratelimit.h> > #include <asm/byteorder.h> > #include <asm/bug.h> >
hm, this will cause circular dependencies - see:
3fff4c4: printk: Remove ratelimit.h from kernel.h
Any reason why it couldnt be pushed inside printk.c? We just need the func string - not the pointer pass-in. That would also address some of the call-site bloat.
Ingo
| |