aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-11-12 03:38:47 -0500
committerHans-Christian Egtvedt <hegtvedt@cisco.com>2013-11-20 03:53:22 -0500
commite7f2c8c1f0e5b062c23001dac229e570228940e8 (patch)
tree228a988fa2a0c5da303504add19604cabb31b61c /arch
parentdbc0d691a4dd7787efd94aa26fe7682a457e53d8 (diff)
avr32: uapi: be sure of "_UAPI" prefix for all guard macros
For all uapi headers, need use "_UAPI" prefix for its guard macro (which will be stripped by "scripts/headers_installer.sh"). Also remove redundant files (bitsperlong.h, errno.h, fcntl.h, ioctl.h, ioctls.h, ipcbuf.h, kvm_para.h, mman.h, poll.h, resource.h, siginfo.h, statfs.h, and unistd.h) which are already in Kbuild. Also be sure that all "#endif" only have one empty line above, and each file has guard macro. Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Hans-Christian Egtvedt <hegtvedt@cisco.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/avr32/include/uapi/asm/Kbuild24
-rw-r--r--arch/avr32/include/uapi/asm/auxvec.h6
-rw-r--r--arch/avr32/include/uapi/asm/bitsperlong.h1
-rw-r--r--arch/avr32/include/uapi/asm/byteorder.h6
-rw-r--r--arch/avr32/include/uapi/asm/cachectl.h6
-rw-r--r--arch/avr32/include/uapi/asm/errno.h6
-rw-r--r--arch/avr32/include/uapi/asm/fcntl.h6
-rw-r--r--arch/avr32/include/uapi/asm/ioctl.h6
-rw-r--r--arch/avr32/include/uapi/asm/ioctls.h6
-rw-r--r--arch/avr32/include/uapi/asm/ipcbuf.h1
-rw-r--r--arch/avr32/include/uapi/asm/kvm_para.h1
-rw-r--r--arch/avr32/include/uapi/asm/mman.h1
-rw-r--r--arch/avr32/include/uapi/asm/msgbuf.h6
-rw-r--r--arch/avr32/include/uapi/asm/poll.h1
-rw-r--r--arch/avr32/include/uapi/asm/posix_types.h6
-rw-r--r--arch/avr32/include/uapi/asm/resource.h6
-rw-r--r--arch/avr32/include/uapi/asm/sembuf.h6
-rw-r--r--arch/avr32/include/uapi/asm/setup.h1
-rw-r--r--arch/avr32/include/uapi/asm/shmbuf.h6
-rw-r--r--arch/avr32/include/uapi/asm/sigcontext.h6
-rw-r--r--arch/avr32/include/uapi/asm/siginfo.h6
-rw-r--r--arch/avr32/include/uapi/asm/signal.h1
-rw-r--r--arch/avr32/include/uapi/asm/socket.h6
-rw-r--r--arch/avr32/include/uapi/asm/sockios.h6
-rw-r--r--arch/avr32/include/uapi/asm/stat.h6
-rw-r--r--arch/avr32/include/uapi/asm/statfs.h6
-rw-r--r--arch/avr32/include/uapi/asm/swab.h6
-rw-r--r--arch/avr32/include/uapi/asm/termbits.h6
-rw-r--r--arch/avr32/include/uapi/asm/termios.h1
-rw-r--r--arch/avr32/include/uapi/asm/types.h5
-rw-r--r--arch/avr32/include/uapi/asm/unistd.h1
31 files changed, 56 insertions, 102 deletions
diff --git a/arch/avr32/include/uapi/asm/Kbuild b/arch/avr32/include/uapi/asm/Kbuild
index 3b85eaddf525..08d8a3d76ea8 100644
--- a/arch/avr32/include/uapi/asm/Kbuild
+++ b/arch/avr32/include/uapi/asm/Kbuild
@@ -2,35 +2,35 @@
2include include/uapi/asm-generic/Kbuild.asm 2include include/uapi/asm-generic/Kbuild.asm
3 3
4header-y += auxvec.h 4header-y += auxvec.h
5header-y += bitsperlong.h
6header-y += byteorder.h 5header-y += byteorder.h
7header-y += cachectl.h 6header-y += cachectl.h
8header-y += errno.h
9header-y += fcntl.h
10header-y += ioctl.h
11header-y += ioctls.h
12header-y += ipcbuf.h
13header-y += kvm_para.h
14header-y += mman.h
15header-y += msgbuf.h 7header-y += msgbuf.h
16header-y += param.h 8header-y += param.h
17header-y += poll.h
18header-y += posix_types.h 9header-y += posix_types.h
19header-y += ptrace.h 10header-y += ptrace.h
20header-y += resource.h
21header-y += sembuf.h 11header-y += sembuf.h
22header-y += setup.h 12header-y += setup.h
23header-y += shmbuf.h 13header-y += shmbuf.h
24header-y += sigcontext.h 14header-y += sigcontext.h
25header-y += siginfo.h
26header-y += signal.h 15header-y += signal.h
27header-y += socket.h 16header-y += socket.h
28header-y += sockios.h 17header-y += sockios.h
29header-y += stat.h 18header-y += stat.h
30header-y += statfs.h
31header-y += swab.h 19header-y += swab.h
32header-y += termbits.h 20header-y += termbits.h
33header-y += termios.h 21header-y += termios.h
34header-y += types.h 22header-y += types.h
35header-y += unistd.h 23header-y += unistd.h
24generic-y += bitsperlong.h
25generic-y += errno.h
26generic-y += fcntl.h
27generic-y += ioctl.h
28generic-y += ioctls.h
29generic-y += ipcbuf.h
30generic-y += kvm_para.h
31generic-y += mman.h
36generic-y += param.h 32generic-y += param.h
33generic-y += poll.h
34generic-y += resource.h
35generic-y += siginfo.h
36generic-y += statfs.h
diff --git a/arch/avr32/include/uapi/asm/auxvec.h b/arch/avr32/include/uapi/asm/auxvec.h
index d5dd435bf8f4..4f02da3ffefa 100644
--- a/arch/avr32/include/uapi/asm/auxvec.h
+++ b/arch/avr32/include/uapi/asm/auxvec.h
@@ -1,4 +1,4 @@
1#ifndef __ASM_AVR32_AUXVEC_H 1#ifndef _UAPI__ASM_AVR32_AUXVEC_H
2#define __ASM_AVR32_AUXVEC_H 2#define _UAPI__ASM_AVR32_AUXVEC_H
3 3
4#endif /* __ASM_AVR32_AUXVEC_H */ 4#endif /* _UAPI__ASM_AVR32_AUXVEC_H */
diff --git a/arch/avr32/include/uapi/asm/bitsperlong.h b/arch/avr32/include/uapi/asm/bitsperlong.h
deleted file mode 100644
index 6dc0bb0c13b2..000000000000
--- a/arch/avr32/include/uapi/asm/bitsperlong.h
+++ /dev/null
@@ -1 +0,0 @@
1#include <asm-generic/bitsperlong.h>
diff --git a/arch/avr32/include/uapi/asm/byteorder.h b/arch/avr32/include/uapi/asm/byteorder.h
index 50abc21619a8..71242f0d39c6 100644
--- a/arch/avr32/include/uapi/asm/byteorder.h
+++ b/arch/avr32/include/uapi/asm/byteorder.h
@@ -1,9 +1,9 @@
1/* 1/*
2 * AVR32 endian-conversion functions. 2 * AVR32 endian-conversion functions.
3 */ 3 */
4#ifndef __ASM_AVR32_BYTEORDER_H 4#ifndef _UAPI__ASM_AVR32_BYTEORDER_H
5#define __ASM_AVR32_BYTEORDER_H 5#define _UAPI__ASM_AVR32_BYTEORDER_H
6 6
7#include <linux/byteorder/big_endian.h> 7#include <linux/byteorder/big_endian.h>
8 8
9#endif /* __ASM_AVR32_BYTEORDER_H */ 9#endif /* _UAPI__ASM_AVR32_BYTEORDER_H */
diff --git a/arch/avr32/include/uapi/asm/cachectl.h b/arch/avr32/include/uapi/asm/cachectl.h
index 4faf1ce60061..573a9584dd57 100644
--- a/arch/avr32/include/uapi/asm/cachectl.h
+++ b/arch/avr32/include/uapi/asm/cachectl.h
@@ -1,5 +1,5 @@
1#ifndef __ASM_AVR32_CACHECTL_H 1#ifndef _UAPI__ASM_AVR32_CACHECTL_H
2#define __ASM_AVR32_CACHECTL_H 2#define _UAPI__ASM_AVR32_CACHECTL_H
3 3
4/* 4/*
5 * Operations that can be performed through the cacheflush system call 5 * Operations that can be performed through the cacheflush system call
@@ -8,4 +8,4 @@
8/* Clean the data cache, then invalidate the icache */ 8/* Clean the data cache, then invalidate the icache */
9#define CACHE_IFLUSH 0 9#define CACHE_IFLUSH 0
10 10
11#endif /* __ASM_AVR32_CACHECTL_H */ 11#endif /* _UAPI__ASM_AVR32_CACHECTL_H */
diff --git a/arch/avr32/include/uapi/asm/errno.h b/arch/avr32/include/uapi/asm/errno.h
deleted file mode 100644
index 558a7249f06d..000000000000
--- a/arch/avr32/include/uapi/asm/errno.h
+++ /dev/null
@@ -1,6 +0,0 @@
1#ifndef __ASM_AVR32_ERRNO_H
2#define __ASM_AVR32_ERRNO_H
3
4#include <asm-generic/errno.h>
5
6#endif /* __ASM_AVR32_ERRNO_H */
diff --git a/arch/avr32/include/uapi/asm/fcntl.h b/arch/avr32/include/uapi/asm/fcntl.h
deleted file mode 100644
index 14c0c4402b11..000000000000
--- a/arch/avr32/include/uapi/asm/fcntl.h
+++ /dev/null
@@ -1,6 +0,0 @@
1#ifndef __ASM_AVR32_FCNTL_H
2#define __ASM_AVR32_FCNTL_H
3
4#include <asm-generic/fcntl.h>
5
6#endif /* __ASM_AVR32_FCNTL_H */
diff --git a/arch/avr32/include/uapi/asm/ioctl.h b/arch/avr32/include/uapi/asm/ioctl.h
deleted file mode 100644
index c8472c1398ef..000000000000
--- a/arch/avr32/include/uapi/asm/ioctl.h
+++ /dev/null
@@ -1,6 +0,0 @@
1#ifndef __ASM_AVR32_IOCTL_H
2#define __ASM_AVR32_IOCTL_H
3
4#include <asm-generic/ioctl.h>
5
6#endif /* __ASM_AVR32_IOCTL_H */
diff --git a/arch/avr32/include/uapi/asm/ioctls.h b/arch/avr32/include/uapi/asm/ioctls.h
deleted file mode 100644
index 909cf66feaf5..000000000000
--- a/arch/avr32/include/uapi/asm/ioctls.h
+++ /dev/null
@@ -1,6 +0,0 @@
1#ifndef __ASM_AVR32_IOCTLS_H
2#define __ASM_AVR32_IOCTLS_H
3
4#include <asm-generic/ioctls.h>
5
6#endif /* __ASM_AVR32_IOCTLS_H */
diff --git a/arch/avr32/include/uapi/asm/ipcbuf.h b/arch/avr32/include/uapi/asm/ipcbuf.h
deleted file mode 100644
index 84c7e51cb6d0..000000000000
--- a/arch/avr32/include/uapi/asm/ipcbuf.h
+++ /dev/null
@@ -1 +0,0 @@
1#include <asm-generic/ipcbuf.h>
diff --git a/arch/avr32/include/uapi/asm/kvm_para.h b/arch/avr32/include/uapi/asm/kvm_para.h
deleted file mode 100644
index 14fab8f0b957..000000000000
--- a/arch/avr32/include/uapi/asm/kvm_para.h
+++ /dev/null
@@ -1 +0,0 @@
1#include <asm-generic/kvm_para.h>
diff --git a/arch/avr32/include/uapi/asm/mman.h b/arch/avr32/include/uapi/asm/mman.h
deleted file mode 100644
index 8eebf89f5ab1..000000000000
--- a/arch/avr32/include/uapi/asm/mman.h
+++ /dev/null
@@ -1 +0,0 @@
1#include <asm-generic/mman.h>
diff --git a/arch/avr32/include/uapi/asm/msgbuf.h b/arch/avr32/include/uapi/asm/msgbuf.h
index ac18bc4da7f7..9eae6effad14 100644
--- a/arch/avr32/include/uapi/asm/msgbuf.h
+++ b/arch/avr32/include/uapi/asm/msgbuf.h
@@ -1,5 +1,5 @@
1#ifndef __ASM_AVR32_MSGBUF_H 1#ifndef _UAPI__ASM_AVR32_MSGBUF_H
2#define __ASM_AVR32_MSGBUF_H 2#define _UAPI__ASM_AVR32_MSGBUF_H
3 3
4/* 4/*
5 * The msqid64_ds structure for i386 architecture. 5 * The msqid64_ds structure for i386 architecture.
@@ -28,4 +28,4 @@ struct msqid64_ds {
28 unsigned long __unused5; 28 unsigned long __unused5;
29}; 29};
30 30
31#endif /* __ASM_AVR32_MSGBUF_H */ 31#endif /* _UAPI__ASM_AVR32_MSGBUF_H */
diff --git a/arch/avr32/include/uapi/asm/poll.h b/arch/avr32/include/uapi/asm/poll.h
deleted file mode 100644
index c98509d3149e..000000000000
--- a/arch/avr32/include/uapi/asm/poll.h
+++ /dev/null
@@ -1 +0,0 @@
1#include <asm-generic/poll.h>
diff --git a/arch/avr32/include/uapi/asm/posix_types.h b/arch/avr32/include/uapi/asm/posix_types.h
index 9ba9e749b3f3..5b813a8abf09 100644
--- a/arch/avr32/include/uapi/asm/posix_types.h
+++ b/arch/avr32/include/uapi/asm/posix_types.h
@@ -5,8 +5,8 @@
5 * it under the terms of the GNU General Public License version 2 as 5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation. 6 * published by the Free Software Foundation.
7 */ 7 */
8#ifndef __ASM_AVR32_POSIX_TYPES_H 8#ifndef _UAPI__ASM_AVR32_POSIX_TYPES_H
9#define __ASM_AVR32_POSIX_TYPES_H 9#define _UAPI__ASM_AVR32_POSIX_TYPES_H
10 10
11/* 11/*
12 * This file is generally used by user-level software, so you need to 12 * This file is generally used by user-level software, so you need to
@@ -34,4 +34,4 @@ typedef unsigned short __kernel_old_dev_t;
34 34
35#include <asm-generic/posix_types.h> 35#include <asm-generic/posix_types.h>
36 36
37#endif /* __ASM_AVR32_POSIX_TYPES_H */ 37#endif /* _UAPI__ASM_AVR32_POSIX_TYPES_H */
diff --git a/arch/avr32/include/uapi/asm/resource.h b/arch/avr32/include/uapi/asm/resource.h
deleted file mode 100644
index c6dd101472b1..000000000000
--- a/arch/avr32/include/uapi/asm/resource.h
+++ /dev/null
@@ -1,6 +0,0 @@
1#ifndef __ASM_AVR32_RESOURCE_H
2#define __ASM_AVR32_RESOURCE_H
3
4#include <asm-generic/resource.h>
5
6#endif /* __ASM_AVR32_RESOURCE_H */
diff --git a/arch/avr32/include/uapi/asm/sembuf.h b/arch/avr32/include/uapi/asm/sembuf.h
index e472216e0c97..6c6f7cf1e75a 100644
--- a/arch/avr32/include/uapi/asm/sembuf.h
+++ b/arch/avr32/include/uapi/asm/sembuf.h
@@ -1,5 +1,5 @@
1#ifndef __ASM_AVR32_SEMBUF_H 1#ifndef _UAPI__ASM_AVR32_SEMBUF_H
2#define __ASM_AVR32_SEMBUF_H 2#define _UAPI__ASM_AVR32_SEMBUF_H
3 3
4/* 4/*
5* The semid64_ds structure for AVR32 architecture. 5* The semid64_ds structure for AVR32 architecture.
@@ -22,4 +22,4 @@ struct semid64_ds {
22 unsigned long __unused4; 22 unsigned long __unused4;
23}; 23};
24 24
25#endif /* __ASM_AVR32_SEMBUF_H */ 25#endif /* _UAPI__ASM_AVR32_SEMBUF_H */
diff --git a/arch/avr32/include/uapi/asm/setup.h b/arch/avr32/include/uapi/asm/setup.h
index e58aa9356faf..a654df7dba46 100644
--- a/arch/avr32/include/uapi/asm/setup.h
+++ b/arch/avr32/include/uapi/asm/setup.h
@@ -13,5 +13,4 @@
13 13
14#define COMMAND_LINE_SIZE 256 14#define COMMAND_LINE_SIZE 256
15 15
16
17#endif /* _UAPI__ASM_AVR32_SETUP_H__ */ 16#endif /* _UAPI__ASM_AVR32_SETUP_H__ */
diff --git a/arch/avr32/include/uapi/asm/shmbuf.h b/arch/avr32/include/uapi/asm/shmbuf.h
index c62fba41739a..b94cf8b60b73 100644
--- a/arch/avr32/include/uapi/asm/shmbuf.h
+++ b/arch/avr32/include/uapi/asm/shmbuf.h
@@ -1,5 +1,5 @@
1#ifndef __ASM_AVR32_SHMBUF_H 1#ifndef _UAPI__ASM_AVR32_SHMBUF_H
2#define __ASM_AVR32_SHMBUF_H 2#define _UAPI__ASM_AVR32_SHMBUF_H
3 3
4/* 4/*
5 * The shmid64_ds structure for i386 architecture. 5 * The shmid64_ds structure for i386 architecture.
@@ -39,4 +39,4 @@ struct shminfo64 {
39 unsigned long __unused4; 39 unsigned long __unused4;
40}; 40};
41 41
42#endif /* __ASM_AVR32_SHMBUF_H */ 42#endif /* _UAPI__ASM_AVR32_SHMBUF_H */
diff --git a/arch/avr32/include/uapi/asm/sigcontext.h b/arch/avr32/include/uapi/asm/sigcontext.h
index e04062b5f39f..27e56bf6377f 100644
--- a/arch/avr32/include/uapi/asm/sigcontext.h
+++ b/arch/avr32/include/uapi/asm/sigcontext.h
@@ -5,8 +5,8 @@
5 * it under the terms of the GNU General Public License version 2 as 5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation. 6 * published by the Free Software Foundation.
7 */ 7 */
8#ifndef __ASM_AVR32_SIGCONTEXT_H 8#ifndef _UAPI__ASM_AVR32_SIGCONTEXT_H
9#define __ASM_AVR32_SIGCONTEXT_H 9#define _UAPI__ASM_AVR32_SIGCONTEXT_H
10 10
11struct sigcontext { 11struct sigcontext {
12 unsigned long oldmask; 12 unsigned long oldmask;
@@ -31,4 +31,4 @@ struct sigcontext {
31 unsigned long r0; 31 unsigned long r0;
32}; 32};
33 33
34#endif /* __ASM_AVR32_SIGCONTEXT_H */ 34#endif /* _UAPI__ASM_AVR32_SIGCONTEXT_H */
diff --git a/arch/avr32/include/uapi/asm/siginfo.h b/arch/avr32/include/uapi/asm/siginfo.h
deleted file mode 100644
index 5ee93f40a8a8..000000000000
--- a/arch/avr32/include/uapi/asm/siginfo.h
+++ /dev/null
@@ -1,6 +0,0 @@
1#ifndef _AVR32_SIGINFO_H
2#define _AVR32_SIGINFO_H
3
4#include <asm-generic/siginfo.h>
5
6#endif
diff --git a/arch/avr32/include/uapi/asm/signal.h b/arch/avr32/include/uapi/asm/signal.h
index 1b77a93eff50..ffe8c770cafd 100644
--- a/arch/avr32/include/uapi/asm/signal.h
+++ b/arch/avr32/include/uapi/asm/signal.h
@@ -118,5 +118,4 @@ typedef struct sigaltstack {
118 size_t ss_size; 118 size_t ss_size;
119} stack_t; 119} stack_t;
120 120
121
122#endif /* _UAPI__ASM_AVR32_SIGNAL_H */ 121#endif /* _UAPI__ASM_AVR32_SIGNAL_H */
diff --git a/arch/avr32/include/uapi/asm/socket.h b/arch/avr32/include/uapi/asm/socket.h
index 439936421434..cbf902e4cd9e 100644
--- a/arch/avr32/include/uapi/asm/socket.h
+++ b/arch/avr32/include/uapi/asm/socket.h
@@ -1,5 +1,5 @@
1#ifndef __ASM_AVR32_SOCKET_H 1#ifndef _UAPI__ASM_AVR32_SOCKET_H
2#define __ASM_AVR32_SOCKET_H 2#define _UAPI__ASM_AVR32_SOCKET_H
3 3
4#include <asm/sockios.h> 4#include <asm/sockios.h>
5 5
@@ -78,4 +78,4 @@
78 78
79#define SO_MAX_PACING_RATE 47 79#define SO_MAX_PACING_RATE 47
80 80
81#endif /* __ASM_AVR32_SOCKET_H */ 81#endif /* _UAPI__ASM_AVR32_SOCKET_H */
diff --git a/arch/avr32/include/uapi/asm/sockios.h b/arch/avr32/include/uapi/asm/sockios.h
index 0802d742f97d..d04785453532 100644
--- a/arch/avr32/include/uapi/asm/sockios.h
+++ b/arch/avr32/include/uapi/asm/sockios.h
@@ -1,5 +1,5 @@
1#ifndef __ASM_AVR32_SOCKIOS_H 1#ifndef _UAPI__ASM_AVR32_SOCKIOS_H
2#define __ASM_AVR32_SOCKIOS_H 2#define _UAPI__ASM_AVR32_SOCKIOS_H
3 3
4/* Socket-level I/O control calls. */ 4/* Socket-level I/O control calls. */
5#define FIOSETOWN 0x8901 5#define FIOSETOWN 0x8901
@@ -10,4 +10,4 @@
10#define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */ 10#define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */
11#define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */ 11#define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */
12 12
13#endif /* __ASM_AVR32_SOCKIOS_H */ 13#endif /* _UAPI__ASM_AVR32_SOCKIOS_H */
diff --git a/arch/avr32/include/uapi/asm/stat.h b/arch/avr32/include/uapi/asm/stat.h
index e72881e10230..c06acef7fce7 100644
--- a/arch/avr32/include/uapi/asm/stat.h
+++ b/arch/avr32/include/uapi/asm/stat.h
@@ -5,8 +5,8 @@
5 * it under the terms of the GNU General Public License version 2 as 5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation. 6 * published by the Free Software Foundation.
7 */ 7 */
8#ifndef __ASM_AVR32_STAT_H 8#ifndef _UAPI__ASM_AVR32_STAT_H
9#define __ASM_AVR32_STAT_H 9#define _UAPI__ASM_AVR32_STAT_H
10 10
11struct __old_kernel_stat { 11struct __old_kernel_stat {
12 unsigned short st_dev; 12 unsigned short st_dev;
@@ -76,4 +76,4 @@ struct stat64 {
76 unsigned long __unused2; 76 unsigned long __unused2;
77}; 77};
78 78
79#endif /* __ASM_AVR32_STAT_H */ 79#endif /* _UAPI__ASM_AVR32_STAT_H */
diff --git a/arch/avr32/include/uapi/asm/statfs.h b/arch/avr32/include/uapi/asm/statfs.h
deleted file mode 100644
index 2961bd18c50e..000000000000
--- a/arch/avr32/include/uapi/asm/statfs.h
+++ /dev/null
@@ -1,6 +0,0 @@
1#ifndef __ASM_AVR32_STATFS_H
2#define __ASM_AVR32_STATFS_H
3
4#include <asm-generic/statfs.h>
5
6#endif /* __ASM_AVR32_STATFS_H */
diff --git a/arch/avr32/include/uapi/asm/swab.h b/arch/avr32/include/uapi/asm/swab.h
index 14cc737bbca6..1a03549e7dc5 100644
--- a/arch/avr32/include/uapi/asm/swab.h
+++ b/arch/avr32/include/uapi/asm/swab.h
@@ -1,8 +1,8 @@
1/* 1/*
2 * AVR32 byteswapping functions. 2 * AVR32 byteswapping functions.
3 */ 3 */
4#ifndef __ASM_AVR32_SWAB_H 4#ifndef _UAPI__ASM_AVR32_SWAB_H
5#define __ASM_AVR32_SWAB_H 5#define _UAPI__ASM_AVR32_SWAB_H
6 6
7#include <linux/types.h> 7#include <linux/types.h>
8#include <linux/compiler.h> 8#include <linux/compiler.h>
@@ -32,4 +32,4 @@ static inline __attribute_const__ __u32 __arch_swab32(__u32 val)
32#define __arch_swab32 __arch_swab32 32#define __arch_swab32 __arch_swab32
33#endif 33#endif
34 34
35#endif /* __ASM_AVR32_SWAB_H */ 35#endif /* _UAPI__ASM_AVR32_SWAB_H */
diff --git a/arch/avr32/include/uapi/asm/termbits.h b/arch/avr32/include/uapi/asm/termbits.h
index 366adc5ebb10..32789ccb38f8 100644
--- a/arch/avr32/include/uapi/asm/termbits.h
+++ b/arch/avr32/include/uapi/asm/termbits.h
@@ -1,5 +1,5 @@
1#ifndef __ASM_AVR32_TERMBITS_H 1#ifndef _UAPI__ASM_AVR32_TERMBITS_H
2#define __ASM_AVR32_TERMBITS_H 2#define _UAPI__ASM_AVR32_TERMBITS_H
3 3
4#include <linux/posix_types.h> 4#include <linux/posix_types.h>
5 5
@@ -193,4 +193,4 @@ struct ktermios {
193#define TCSADRAIN 1 193#define TCSADRAIN 1
194#define TCSAFLUSH 2 194#define TCSAFLUSH 2
195 195
196#endif /* __ASM_AVR32_TERMBITS_H */ 196#endif /* _UAPI__ASM_AVR32_TERMBITS_H */
diff --git a/arch/avr32/include/uapi/asm/termios.h b/arch/avr32/include/uapi/asm/termios.h
index b8ef8ea63352..c8a0081556c4 100644
--- a/arch/avr32/include/uapi/asm/termios.h
+++ b/arch/avr32/include/uapi/asm/termios.h
@@ -46,5 +46,4 @@ struct termio {
46 46
47/* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */ 47/* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */
48 48
49
50#endif /* _UAPI__ASM_AVR32_TERMIOS_H */ 49#endif /* _UAPI__ASM_AVR32_TERMIOS_H */
diff --git a/arch/avr32/include/uapi/asm/types.h b/arch/avr32/include/uapi/asm/types.h
index bb34ad349dfc..7c986c4e99b5 100644
--- a/arch/avr32/include/uapi/asm/types.h
+++ b/arch/avr32/include/uapi/asm/types.h
@@ -5,4 +5,9 @@
5 * it under the terms of the GNU General Public License version 2 as 5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation. 6 * published by the Free Software Foundation.
7 */ 7 */
8#ifndef _UAPI__ASM_AVR32_TYPES_H
9#define _UAPI__ASM_AVR32_TYPES_H
10
8#include <asm-generic/int-ll64.h> 11#include <asm-generic/int-ll64.h>
12
13#endif /* _UAPI__ASM_AVR32_TYPES_H */
diff --git a/arch/avr32/include/uapi/asm/unistd.h b/arch/avr32/include/uapi/asm/unistd.h
index 3eaa68753adb..8822bf46ddc6 100644
--- a/arch/avr32/include/uapi/asm/unistd.h
+++ b/arch/avr32/include/uapi/asm/unistd.h
@@ -301,5 +301,4 @@
301#define __NR_eventfd 281 301#define __NR_eventfd 281
302#define __NR_setns 283 302#define __NR_setns 283
303 303
304
305#endif /* _UAPI__ASM_AVR32_UNISTD_H */ 304#endif /* _UAPI__ASM_AVR32_UNISTD_H */