lkml.org 
[lkml]   [2008]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectinclusion of <endian.h> in a kernel header? ok or not?
Is it ok to #include <endian.h> in a kernel header file.
This is done in linux/patchkey.h and linux/soundcard.h but other
places seem to prefer <asm/byteorder.h>

Basically I am looking for a simple way to isolate a piece of endian
specific code (something like #ifdef BIG_ENDIAN ...#endif


\
 
 \ /
  Last update: 2008-08-19 21:19    [W:0.036 / U:6.336 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site