lkml.org 
[lkml]   [2009]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-10-23 16:57    [W:0.077 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site