diff options
Diffstat (limited to 'arch/avr32/include')
-rw-r--r-- | arch/avr32/include/asm/socket.h | 3 | ||||
-rw-r--r-- | arch/avr32/include/asm/swab.h | 2 | ||||
-rw-r--r-- | arch/avr32/include/asm/uaccess.h | 8 |
3 files changed, 8 insertions, 5 deletions
diff --git a/arch/avr32/include/asm/socket.h b/arch/avr32/include/asm/socket.h index 35863f260929..04c860619700 100644 --- a/arch/avr32/include/asm/socket.h +++ b/arch/avr32/include/asm/socket.h | |||
@@ -54,4 +54,7 @@ | |||
54 | 54 | ||
55 | #define SO_MARK 36 | 55 | #define SO_MARK 36 |
56 | 56 | ||
57 | #define SO_TIMESTAMPING 37 | ||
58 | #define SCM_TIMESTAMPING SO_TIMESTAMPING | ||
59 | |||
57 | #endif /* __ASM_AVR32_SOCKET_H */ | 60 | #endif /* __ASM_AVR32_SOCKET_H */ |
diff --git a/arch/avr32/include/asm/swab.h b/arch/avr32/include/asm/swab.h index a14aa5b46d98..14cc737bbca6 100644 --- a/arch/avr32/include/asm/swab.h +++ b/arch/avr32/include/asm/swab.h | |||
@@ -4,7 +4,7 @@ | |||
4 | #ifndef __ASM_AVR32_SWAB_H | 4 | #ifndef __ASM_AVR32_SWAB_H |
5 | #define __ASM_AVR32_SWAB_H | 5 | #define __ASM_AVR32_SWAB_H |
6 | 6 | ||
7 | #include <asm/types.h> | 7 | #include <linux/types.h> |
8 | #include <linux/compiler.h> | 8 | #include <linux/compiler.h> |
9 | 9 | ||
10 | #define __SWAB_64_THRU_32__ | 10 | #define __SWAB_64_THRU_32__ |
diff --git a/arch/avr32/include/asm/uaccess.h b/arch/avr32/include/asm/uaccess.h index ed092395215e..245b2ee213c9 100644 --- a/arch/avr32/include/asm/uaccess.h +++ b/arch/avr32/include/asm/uaccess.h | |||
@@ -230,10 +230,10 @@ extern int __put_user_bad(void); | |||
230 | asm volatile( \ | 230 | asm volatile( \ |
231 | "1: ld." suffix " %1, %3 \n" \ | 231 | "1: ld." suffix " %1, %3 \n" \ |
232 | "2: \n" \ | 232 | "2: \n" \ |
233 | " .section .fixup, \"ax\" \n" \ | 233 | " .subsection 1 \n" \ |
234 | "3: mov %0, %4 \n" \ | 234 | "3: mov %0, %4 \n" \ |
235 | " rjmp 2b \n" \ | 235 | " rjmp 2b \n" \ |
236 | " .previous \n" \ | 236 | " .subsection 0 \n" \ |
237 | " .section __ex_table, \"a\" \n" \ | 237 | " .section __ex_table, \"a\" \n" \ |
238 | " .long 1b, 3b \n" \ | 238 | " .long 1b, 3b \n" \ |
239 | " .previous \n" \ | 239 | " .previous \n" \ |
@@ -295,10 +295,10 @@ extern int __put_user_bad(void); | |||
295 | asm volatile( \ | 295 | asm volatile( \ |
296 | "1: st." suffix " %1, %3 \n" \ | 296 | "1: st." suffix " %1, %3 \n" \ |
297 | "2: \n" \ | 297 | "2: \n" \ |
298 | " .section .fixup, \"ax\" \n" \ | 298 | " .subsection 1 \n" \ |
299 | "3: mov %0, %4 \n" \ | 299 | "3: mov %0, %4 \n" \ |
300 | " rjmp 2b \n" \ | 300 | " rjmp 2b \n" \ |
301 | " .previous \n" \ | 301 | " .subsection 0 \n" \ |
302 | " .section __ex_table, \"a\" \n" \ | 302 | " .section __ex_table, \"a\" \n" \ |
303 | " .long 1b, 3b \n" \ | 303 | " .long 1b, 3b \n" \ |
304 | " .previous \n" \ | 304 | " .previous \n" \ |