lkml.org 
[lkml]   [2009]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] x86: do not expose CONFIG_BSWAP to userspace
    Arnd Bergmann wrote:
    >
    > I take this as a strong indication that user space applications
    > won't generally expect to get the bswap instruction from including
    > the kernel headers. For the longest time, we actually had
    >
    > /* For avoiding bswap on i386 */
    > #ifdef __KERNEL__
    > #include <linux/config.h>
    > #endif
    >
    > which I read as explicitly using the portable i386 version for
    > all user space.
    >

    This is true, although it would be nice to be able to generate BSWAP now
    when most distros compile with -march=i586 or higher. The reason noone
    cared for the longest time was that noone wanted to compile userspace
    for anything other than the i386 baseline.

    -hpa



    \
     
     \ /
      Last update: 2009-01-29 00:43    [W:0.032 / U:3.208 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site