[lkml]   [2009]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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.


 \ /
  Last update: 2009-01-29 00:43    [W:0.101 / U:2.984 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site