lkml.org 
[lkml]   [2010]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 05/25] lmb: Prepare to include linux/lmb.h in core file
    On Tue, Jun 22, 2010 at 10:26:34AM -0700, Yinghai Lu wrote:
    > Need to add protection in linux/lmb.h, to prepare to include it in
    > mm/page_alloc.c and mm/bootmem.c etc.
    >
    > Signed-off-by: Yinghai Lu <yinghai@kernel.org>
    > ---
    > include/linux/lmb.h | 3 +++
    > 1 files changed, 3 insertions(+), 0 deletions(-)
    >
    > diff --git a/include/linux/lmb.h b/include/linux/lmb.h
    > index eb8a5a3..d529232 100644
    > --- a/include/linux/lmb.h
    > +++ b/include/linux/lmb.h
    > @@ -2,6 +2,7 @@
    > #define _LINUX_LMB_H
    > #ifdef __KERNEL__
    >
    > +#ifdef CONFIG_HAVE_LMB

    The file could loose the "#ifdef __KERNEL__"
    as lmb.h is not exported to userspace.

    Sam


    \
     
     \ /
      Last update: 2010-06-22 20:49    [W:4.010 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site