lkml.org 
[lkml]   [2009]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC 2/2] Use unified UUID/GUID definition in gfs2
    From
    Date
    On Tue, 2009-11-03 at 09:02 +0800, Andrew Morton wrote: 
    > On Tue, 03 Nov 2009 08:44:48 +0800
    > Huang Ying <ying.huang@intel.com> wrote:
    >
    > > For stuff of no use to user space, I think it can be enclosed into
    > >
    > > #ifdef __KERNEL__
    > > #endif
    >
    > It can, but that's ugly. Clearly separating the inclusions into uuid-kernel.h
    > and uuid-user-h is nicer, no?

    But it seems that __KERNEL__ is common used method now. There are about
    370 out of 3085 files under linux/include use __KERNEL__. The data are
    gotten via:

    # cd linux/include
    # find . -type f | wc -l
    # grep __KERNEL__ -lr * | wc -l

    Best Regards,
    Huang Ying




    \
     
     \ /
      Last update: 2009-11-03 08:25    [W:0.026 / U:1.132 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site