lkml.org 
[lkml]   [2012]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 7/7] kernel.h: doesn't explicitly use bug.h, so don't include it.
    Date
    This header isn't using bug.h infrastructure, but due to historical
    reasons, it was including it. Removing it revealed several implicit
    dependencies (since kernel.h is everywhere) so we've fixed those 1st
    before deploying this change.

    Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
    ---
    include/linux/kernel.h | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/include/linux/kernel.h b/include/linux/kernel.h
    index 5dba983..bef5480 100644
    --- a/include/linux/kernel.h
    +++ b/include/linux/kernel.h
    @@ -20,7 +20,6 @@
    #include <linux/printk.h>
    #include <linux/dynamic_debug.h>
    #include <asm/byteorder.h>
    -#include <asm/bug.h>

    #define USHRT_MAX ((u16)(~0U))
    #define SHRT_MAX ((s16)(USHRT_MAX>>1))
    --
    1.7.7.2


    \
     
     \ /
      Last update: 2012-01-27 03:49    [W:0.021 / U:126.032 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site