clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since d62f5b5 was bfbc4f6, checked in by Jim Gifford <clfs@…>, 19 years ago |
r1048@server (orig r1046): ryan | 2006-01-12 00:57:42 -0800
r1082@rei: lfs | 2006-01-12 19:19:16 +1100
Update for kernel 2.6.14
|
-
Property mode
set to
100644
|
File size:
652 bytes
|
Rev | Line | |
---|
[bfbc4f6] | 1 | --- linux-2.6.14/include/asm-generic/unaligned.h.~1~ 2005-10-28 02:02:08.000000000 +0200
|
---|
| 2 | +++ linux-2.6.14/include/asm-generic/unaligned.h 2005-11-10 14:37:58.356107194 +0100
|
---|
| 3 | @@ -78,7 +78,7 @@ static inline void __ustw(__u16 val, __u
|
---|
| 4 |
|
---|
| 5 | #define __get_unaligned(ptr, size) ({ \
|
---|
| 6 | const void *__gu_p = ptr; \
|
---|
| 7 | - __typeof__(*(ptr)) val; \
|
---|
| 8 | + unsigned long val; \
|
---|
| 9 | switch (size) { \
|
---|
| 10 | case 1: \
|
---|
| 11 | val = *(const __u8 *)__gu_p; \
|
---|
| 12 | @@ -95,7 +95,7 @@ static inline void __ustw(__u16 val, __u
|
---|
| 13 | default: \
|
---|
| 14 | bad_unaligned_access_length(); \
|
---|
| 15 | }; \
|
---|
| 16 | - val; \
|
---|
| 17 | + (__typeof__(*(ptr)))val; \
|
---|
| 18 | })
|
---|
| 19 |
|
---|
| 20 | #define __put_unaligned(val, ptr, size) \
|
---|
| 21 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.