Dr Andrew Scott G7VAV

My photo
 
September 2025
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
6 7 8 9 10 11 12


swab.h
01: #ifndef _ASM_GENERIC_SWAB_H
02: #define _ASM_GENERIC_SWAB_H
03: 
04: #include <asm/bitsperlong.h>
05: 
06: /*
07:  * 32 bit architectures typically (but not always) want to
08:  * set __SWAB_64_THRU_32__. In user space, this is only
09:  * valid if the compiler supports 64 bit data types.
10:  */
11: 
12: #if __BITS_PER_LONG == 32
13: #if defined(__GNUC__) && !defined(__STRICT_ANSI__) || defined(__KERNEL__)
14: #define __SWAB_64_THRU_32__
15: #endif
16: #endif
17: 
18: #endif /* _ASM_GENERIC_SWAB_H */
19: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/