[lkml]   [2009]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] x86 byteorder.h: use __asm__/__inline__ for userspace
    On Sat, 2008-12-27 at 20:12 +0100, Sam Ravnborg wrote:
    > Speaking of what we want to use in exported headers.
    > What is the recommendation with respect to uint32_t and friends?
    > To my best knowledge they are banned in exported headers as they
    > are not part of the kernel namespace and I see few users too.
    > But is this something we should check for?

    No, they're not banned. There are a few cases where they can't be used
    and we have to use the kernels "speshul" __u32 types, because certain
    headers get included by glibc and we can't "pollute" the namespace with
    the C standard types. But in _most_ cases, using the standard C types is
    just fine.

    David Woodhouse Open Source Technology Centre Intel Corporation

     \ /
      Last update: 2009-01-07 17:49    [W:0.030 / U:2.592 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site