Re: [PATCH] arch: avr32: uapi: be sure of "_UAPI" prefix for all guard macros
On 11/13/2013 07:21 PM, Hans-Christian Egtvedt wrote: > Around Tue 12 Nov 2013 16:38:47 +0800 or thereabout, Chen Gang wrote: >> 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. > > Thank you for fixing and cleaning, but this current patch does not build after > applying. The deleted files needs to be added in Kbuild to pick the generic > header files instead. > Oh, it is my fault, thanks. :-) > Something ala > diff --git a/arch/avr32/include/uapi/asm/Kbuild > b/arch/avr32/include/uapi/asm/Kbuild > index 3b85ead..08d8a3d 100644 > --- a/arch/avr32/include/uapi/asm/Kbuild > +++ b/arch/avr32/include/uapi/asm/Kbuild > @@ -2,35 +2,35 @@ > include include/uapi/asm-generic/Kbuild.asm > > header-y += auxvec.h > -header-y += bitsperlong.h > header-y += byteorder.h > header-y += cachectl.h > -header-y += errno.h > -header-y += fcntl.h > -header-y += ioctl.h > -header-y += ioctls.h > -header-y += ipcbuf.h > -header-y += kvm_para.h > -header-y += mman.h > header-y += msgbuf.h > header-y += param.h > -header-y += poll.h > header-y += posix_types.h > header-y += ptrace.h > -header-y += resource.h > header-y += sembuf.h > header-y += setup.h > header-y += shmbuf.h > header-y += sigcontext.h > -header-y += siginfo.h > header-y += signal.h > header-y += socket.h > header-y += sockios.h > header-y += stat.h > -header-y += statfs.h > header-y += swab.h > header-y += termbits.h > header-y += termios.h > header-y += types.h > header-y += unistd.h > +generic-y += bitsperlong.h > +generic-y += errno.h > +generic-y += fcntl.h > +generic-y += ioctl.h > +generic-y += ioctls.h > +generic-y += ipcbuf.h > +generic-y += kvm_para.h > +generic-y += mman.h > generic-y += param.h > +generic-y += poll.h > +generic-y += resource.h > +generic-y += siginfo.h > +generic-y += statfs.h > And I should check my original another architectures' 'same' patches for 'header-y' and 'generic-y'. > I can amend this change, and add the patch to my for-linus branch. > >> Signed-off-by: Chen Gang > > Signed-off-by: Hans-Christian Egtvedt > Thank you very much. > > > Thanks. -- Chen Gang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] arch: avr32: uapi: be sure of "_UAPI" prefix for all guard macros
Around Tue 12 Nov 2013 16:38:47 +0800 or thereabout, Chen Gang wrote: > 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. Thank you for fixing and cleaning, but this current patch does not build after applying. The deleted files needs to be added in Kbuild to pick the generic header files instead. Something ala diff --git a/arch/avr32/include/uapi/asm/Kbuild b/arch/avr32/include/uapi/asm/Kbuild index 3b85ead..08d8a3d 100644 --- a/arch/avr32/include/uapi/asm/Kbuild +++ b/arch/avr32/include/uapi/asm/Kbuild @@ -2,35 +2,35 @@ include include/uapi/asm-generic/Kbuild.asm header-y += auxvec.h -header-y += bitsperlong.h header-y += byteorder.h header-y += cachectl.h -header-y += errno.h -header-y += fcntl.h -header-y += ioctl.h -header-y += ioctls.h -header-y += ipcbuf.h -header-y += kvm_para.h -header-y += mman.h header-y += msgbuf.h header-y += param.h -header-y += poll.h header-y += posix_types.h header-y += ptrace.h -header-y += resource.h header-y += sembuf.h header-y += setup.h header-y += shmbuf.h header-y += sigcontext.h -header-y += siginfo.h header-y += signal.h header-y += socket.h header-y += sockios.h header-y += stat.h -header-y += statfs.h header-y += swab.h header-y += termbits.h header-y += termios.h header-y += types.h header-y += unistd.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.h generic-y += param.h +generic-y += poll.h +generic-y += resource.h +generic-y += siginfo.h +generic-y += statfs.h I can amend this change, and add the patch to my for-linus branch. > Signed-off-by: Chen Gang Signed-off-by: Hans-Christian Egtvedt > --- > arch/avr32/include/uapi/asm/auxvec.h |6 +++--- > arch/avr32/include/uapi/asm/bitsperlong.h |1 - > arch/avr32/include/uapi/asm/byteorder.h |6 +++--- > arch/avr32/include/uapi/asm/cachectl.h|6 +++--- > arch/avr32/include/uapi/asm/errno.h |6 -- > arch/avr32/include/uapi/asm/fcntl.h |6 -- > arch/avr32/include/uapi/asm/ioctl.h |6 -- > arch/avr32/include/uapi/asm/ioctls.h |6 -- > arch/avr32/include/uapi/asm/ipcbuf.h |1 - > arch/avr32/include/uapi/asm/kvm_para.h|1 - > arch/avr32/include/uapi/asm/mman.h|1 - > arch/avr32/include/uapi/asm/msgbuf.h |6 +++--- > arch/avr32/include/uapi/asm/poll.h|1 - > arch/avr32/include/uapi/asm/posix_types.h |6 +++--- > arch/avr32/include/uapi/asm/resource.h|6 -- > arch/avr32/include/uapi/asm/sembuf.h |6 +++--- > arch/avr32/include/uapi/asm/setup.h |1 - > arch/avr32/include/uapi/asm/shmbuf.h |6 +++--- > arch/avr32/include/uapi/asm/sigcontext.h |6 +++--- > arch/avr32/include/uapi/asm/siginfo.h |6 -- > arch/avr32/include/uapi/asm/signal.h |1 - > arch/avr32/include/uapi/asm/socket.h |6 +++--- > arch/avr32/include/uapi/asm/sockios.h |6 +++--- > arch/avr32/include/uapi/asm/stat.h|6 +++--- > arch/avr32/include/uapi/asm/statfs.h |6 -- > arch/avr32/include/uapi/asm/swab.h|6 +++--- > arch/avr32/include/uapi/asm/termbits.h|6 +++--- > arch/avr32/include/uapi/asm/termios.h |1 - > arch/avr32/include/uapi/asm/types.h |5 + > arch/avr32/include/uapi/asm/unistd.h |1 - > 30 files changed, 44 insertions(+), 90 deletions(-) > delete mode 100644 arch/avr32/include/uapi/asm/bitsperlong.h > delete mode 100644 arch/avr32/include/uapi/asm/errno.h > delete mode 100644 arch/avr32/include/uapi/asm/fcntl.h > delete mode 100644 arch/avr32/include/uapi/asm/ioctl.h > delete mode 100644 arch/avr32/include/uapi/asm/ioctls.h > delete mode 100644 arch/avr32/include/uapi/asm/ipcbuf.h > delete mode 100644 arch/avr32/include/uapi/asm/kvm_para.h > delete mode 100644 arch/avr32/include/uapi/asm/mman.h > delete mode 100644 arch/avr32/include/uapi/asm/poll.h > delete mode 100644 arch/avr32/include/uapi/asm/resource.h > delete mode 100644 arch/avr32/include/uapi/asm/siginfo.h > delete mode 100644 arch/avr32/include/uapi/asm/statfs.h -- HcE -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] arch: avr32: uapi: be sure of _UAPI prefix for all guard macros
Around Tue 12 Nov 2013 16:38:47 +0800 or thereabout, Chen Gang wrote: 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. Thank you for fixing and cleaning, but this current patch does not build after applying. The deleted files needs to be added in Kbuild to pick the generic header files instead. Something ala diff --git a/arch/avr32/include/uapi/asm/Kbuild b/arch/avr32/include/uapi/asm/Kbuild index 3b85ead..08d8a3d 100644 --- a/arch/avr32/include/uapi/asm/Kbuild +++ b/arch/avr32/include/uapi/asm/Kbuild @@ -2,35 +2,35 @@ include include/uapi/asm-generic/Kbuild.asm header-y += auxvec.h -header-y += bitsperlong.h header-y += byteorder.h header-y += cachectl.h -header-y += errno.h -header-y += fcntl.h -header-y += ioctl.h -header-y += ioctls.h -header-y += ipcbuf.h -header-y += kvm_para.h -header-y += mman.h header-y += msgbuf.h header-y += param.h -header-y += poll.h header-y += posix_types.h header-y += ptrace.h -header-y += resource.h header-y += sembuf.h header-y += setup.h header-y += shmbuf.h header-y += sigcontext.h -header-y += siginfo.h header-y += signal.h header-y += socket.h header-y += sockios.h header-y += stat.h -header-y += statfs.h header-y += swab.h header-y += termbits.h header-y += termios.h header-y += types.h header-y += unistd.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.h generic-y += param.h +generic-y += poll.h +generic-y += resource.h +generic-y += siginfo.h +generic-y += statfs.h I can amend this change, and add the patch to my for-linus branch. Signed-off-by: Chen Gang gang.c...@asianux.com Signed-off-by: Hans-Christian Egtvedt egtv...@samfundet.no --- arch/avr32/include/uapi/asm/auxvec.h |6 +++--- arch/avr32/include/uapi/asm/bitsperlong.h |1 - arch/avr32/include/uapi/asm/byteorder.h |6 +++--- arch/avr32/include/uapi/asm/cachectl.h|6 +++--- arch/avr32/include/uapi/asm/errno.h |6 -- arch/avr32/include/uapi/asm/fcntl.h |6 -- arch/avr32/include/uapi/asm/ioctl.h |6 -- arch/avr32/include/uapi/asm/ioctls.h |6 -- arch/avr32/include/uapi/asm/ipcbuf.h |1 - arch/avr32/include/uapi/asm/kvm_para.h|1 - arch/avr32/include/uapi/asm/mman.h|1 - arch/avr32/include/uapi/asm/msgbuf.h |6 +++--- arch/avr32/include/uapi/asm/poll.h|1 - arch/avr32/include/uapi/asm/posix_types.h |6 +++--- arch/avr32/include/uapi/asm/resource.h|6 -- arch/avr32/include/uapi/asm/sembuf.h |6 +++--- arch/avr32/include/uapi/asm/setup.h |1 - arch/avr32/include/uapi/asm/shmbuf.h |6 +++--- arch/avr32/include/uapi/asm/sigcontext.h |6 +++--- arch/avr32/include/uapi/asm/siginfo.h |6 -- arch/avr32/include/uapi/asm/signal.h |1 - arch/avr32/include/uapi/asm/socket.h |6 +++--- arch/avr32/include/uapi/asm/sockios.h |6 +++--- arch/avr32/include/uapi/asm/stat.h|6 +++--- arch/avr32/include/uapi/asm/statfs.h |6 -- arch/avr32/include/uapi/asm/swab.h|6 +++--- arch/avr32/include/uapi/asm/termbits.h|6 +++--- arch/avr32/include/uapi/asm/termios.h |1 - arch/avr32/include/uapi/asm/types.h |5 + arch/avr32/include/uapi/asm/unistd.h |1 - 30 files changed, 44 insertions(+), 90 deletions(-) delete mode 100644 arch/avr32/include/uapi/asm/bitsperlong.h delete mode 100644 arch/avr32/include/uapi/asm/errno.h delete mode 100644 arch/avr32/include/uapi/asm/fcntl.h delete mode 100644 arch/avr32/include/uapi/asm/ioctl.h delete mode 100644 arch/avr32/include/uapi/asm/ioctls.h delete mode 100644 arch/avr32/include/uapi/asm/ipcbuf.h delete mode 100644 arch/avr32/include/uapi/asm/kvm_para.h delete mode 100644 arch/avr32/include/uapi/asm/mman.h delete mode 100644 arch/avr32/include/uapi/asm/poll.h delete mode 100644 arch/avr32/include/uapi/asm/resource.h delete mode 100644 arch/avr32/include/uapi/asm/siginfo.h delete mode 100644 arch/avr32/include/uapi/asm/statfs.h snipp diff -- HcE -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] arch: avr32: uapi: be sure of _UAPI prefix for all guard macros
On 11/13/2013 07:21 PM, Hans-Christian Egtvedt wrote: Around Tue 12 Nov 2013 16:38:47 +0800 or thereabout, Chen Gang wrote: 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. Thank you for fixing and cleaning, but this current patch does not build after applying. The deleted files needs to be added in Kbuild to pick the generic header files instead. Oh, it is my fault, thanks. :-) Something ala diff --git a/arch/avr32/include/uapi/asm/Kbuild b/arch/avr32/include/uapi/asm/Kbuild index 3b85ead..08d8a3d 100644 --- a/arch/avr32/include/uapi/asm/Kbuild +++ b/arch/avr32/include/uapi/asm/Kbuild @@ -2,35 +2,35 @@ include include/uapi/asm-generic/Kbuild.asm header-y += auxvec.h -header-y += bitsperlong.h header-y += byteorder.h header-y += cachectl.h -header-y += errno.h -header-y += fcntl.h -header-y += ioctl.h -header-y += ioctls.h -header-y += ipcbuf.h -header-y += kvm_para.h -header-y += mman.h header-y += msgbuf.h header-y += param.h -header-y += poll.h header-y += posix_types.h header-y += ptrace.h -header-y += resource.h header-y += sembuf.h header-y += setup.h header-y += shmbuf.h header-y += sigcontext.h -header-y += siginfo.h header-y += signal.h header-y += socket.h header-y += sockios.h header-y += stat.h -header-y += statfs.h header-y += swab.h header-y += termbits.h header-y += termios.h header-y += types.h header-y += unistd.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.h generic-y += param.h +generic-y += poll.h +generic-y += resource.h +generic-y += siginfo.h +generic-y += statfs.h And I should check my original another architectures' 'same' patches for 'header-y' and 'generic-y'. I can amend this change, and add the patch to my for-linus branch. Signed-off-by: Chen Gang gang.c...@asianux.com Signed-off-by: Hans-Christian Egtvedt egtv...@samfundet.no Thank you very much. snipp diff Thanks. -- Chen Gang -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] arch: 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 --- arch/avr32/include/uapi/asm/auxvec.h |6 +++--- arch/avr32/include/uapi/asm/bitsperlong.h |1 - arch/avr32/include/uapi/asm/byteorder.h |6 +++--- arch/avr32/include/uapi/asm/cachectl.h|6 +++--- arch/avr32/include/uapi/asm/errno.h |6 -- arch/avr32/include/uapi/asm/fcntl.h |6 -- arch/avr32/include/uapi/asm/ioctl.h |6 -- arch/avr32/include/uapi/asm/ioctls.h |6 -- arch/avr32/include/uapi/asm/ipcbuf.h |1 - arch/avr32/include/uapi/asm/kvm_para.h|1 - arch/avr32/include/uapi/asm/mman.h|1 - arch/avr32/include/uapi/asm/msgbuf.h |6 +++--- arch/avr32/include/uapi/asm/poll.h|1 - arch/avr32/include/uapi/asm/posix_types.h |6 +++--- arch/avr32/include/uapi/asm/resource.h|6 -- arch/avr32/include/uapi/asm/sembuf.h |6 +++--- arch/avr32/include/uapi/asm/setup.h |1 - arch/avr32/include/uapi/asm/shmbuf.h |6 +++--- arch/avr32/include/uapi/asm/sigcontext.h |6 +++--- arch/avr32/include/uapi/asm/siginfo.h |6 -- arch/avr32/include/uapi/asm/signal.h |1 - arch/avr32/include/uapi/asm/socket.h |6 +++--- arch/avr32/include/uapi/asm/sockios.h |6 +++--- arch/avr32/include/uapi/asm/stat.h|6 +++--- arch/avr32/include/uapi/asm/statfs.h |6 -- arch/avr32/include/uapi/asm/swab.h|6 +++--- arch/avr32/include/uapi/asm/termbits.h|6 +++--- arch/avr32/include/uapi/asm/termios.h |1 - arch/avr32/include/uapi/asm/types.h |5 + arch/avr32/include/uapi/asm/unistd.h |1 - 30 files changed, 44 insertions(+), 90 deletions(-) delete mode 100644 arch/avr32/include/uapi/asm/bitsperlong.h delete mode 100644 arch/avr32/include/uapi/asm/errno.h delete mode 100644 arch/avr32/include/uapi/asm/fcntl.h delete mode 100644 arch/avr32/include/uapi/asm/ioctl.h delete mode 100644 arch/avr32/include/uapi/asm/ioctls.h delete mode 100644 arch/avr32/include/uapi/asm/ipcbuf.h delete mode 100644 arch/avr32/include/uapi/asm/kvm_para.h delete mode 100644 arch/avr32/include/uapi/asm/mman.h delete mode 100644 arch/avr32/include/uapi/asm/poll.h delete mode 100644 arch/avr32/include/uapi/asm/resource.h delete mode 100644 arch/avr32/include/uapi/asm/siginfo.h delete mode 100644 arch/avr32/include/uapi/asm/statfs.h diff --git a/arch/avr32/include/uapi/asm/auxvec.h b/arch/avr32/include/uapi/asm/auxvec.h index d5dd435..4f02da3 100644 --- a/arch/avr32/include/uapi/asm/auxvec.h +++ b/arch/avr32/include/uapi/asm/auxvec.h @@ -1,4 +1,4 @@ -#ifndef __ASM_AVR32_AUXVEC_H -#define __ASM_AVR32_AUXVEC_H +#ifndef _UAPI__ASM_AVR32_AUXVEC_H +#define _UAPI__ASM_AVR32_AUXVEC_H -#endif /* __ASM_AVR32_AUXVEC_H */ +#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 6dc0bb0..000 --- a/arch/avr32/include/uapi/asm/bitsperlong.h +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/arch/avr32/include/uapi/asm/byteorder.h b/arch/avr32/include/uapi/asm/byteorder.h index 50abc21..71242f0 100644 --- a/arch/avr32/include/uapi/asm/byteorder.h +++ b/arch/avr32/include/uapi/asm/byteorder.h @@ -1,9 +1,9 @@ /* * AVR32 endian-conversion functions. */ -#ifndef __ASM_AVR32_BYTEORDER_H -#define __ASM_AVR32_BYTEORDER_H +#ifndef _UAPI__ASM_AVR32_BYTEORDER_H +#define _UAPI__ASM_AVR32_BYTEORDER_H #include -#endif /* __ASM_AVR32_BYTEORDER_H */ +#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 4faf1ce..573a958 100644 --- a/arch/avr32/include/uapi/asm/cachectl.h +++ b/arch/avr32/include/uapi/asm/cachectl.h @@ -1,5 +1,5 @@ -#ifndef __ASM_AVR32_CACHECTL_H -#define __ASM_AVR32_CACHECTL_H +#ifndef _UAPI__ASM_AVR32_CACHECTL_H +#define _UAPI__ASM_AVR32_CACHECTL_H /* * Operations that can be performed through the cacheflush system call @@ -8,4 +8,4 @@ /* Clean the data cache, then invalidate the icache */ #define CACHE_IFLUSH 0 -#endif /* __ASM_AVR32_CACHECTL_H */ +#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 558a724..000 --- a/arch/avr32/include/uapi/asm/errno.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_ERRNO_H -#define __ASM_AVR32_ERRNO_H - -#include - -#endif /* __ASM_AVR32_ERRNO_H */ diff --git
[PATCH] arch: 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.c...@asianux.com --- arch/avr32/include/uapi/asm/auxvec.h |6 +++--- arch/avr32/include/uapi/asm/bitsperlong.h |1 - arch/avr32/include/uapi/asm/byteorder.h |6 +++--- arch/avr32/include/uapi/asm/cachectl.h|6 +++--- arch/avr32/include/uapi/asm/errno.h |6 -- arch/avr32/include/uapi/asm/fcntl.h |6 -- arch/avr32/include/uapi/asm/ioctl.h |6 -- arch/avr32/include/uapi/asm/ioctls.h |6 -- arch/avr32/include/uapi/asm/ipcbuf.h |1 - arch/avr32/include/uapi/asm/kvm_para.h|1 - arch/avr32/include/uapi/asm/mman.h|1 - arch/avr32/include/uapi/asm/msgbuf.h |6 +++--- arch/avr32/include/uapi/asm/poll.h|1 - arch/avr32/include/uapi/asm/posix_types.h |6 +++--- arch/avr32/include/uapi/asm/resource.h|6 -- arch/avr32/include/uapi/asm/sembuf.h |6 +++--- arch/avr32/include/uapi/asm/setup.h |1 - arch/avr32/include/uapi/asm/shmbuf.h |6 +++--- arch/avr32/include/uapi/asm/sigcontext.h |6 +++--- arch/avr32/include/uapi/asm/siginfo.h |6 -- arch/avr32/include/uapi/asm/signal.h |1 - arch/avr32/include/uapi/asm/socket.h |6 +++--- arch/avr32/include/uapi/asm/sockios.h |6 +++--- arch/avr32/include/uapi/asm/stat.h|6 +++--- arch/avr32/include/uapi/asm/statfs.h |6 -- arch/avr32/include/uapi/asm/swab.h|6 +++--- arch/avr32/include/uapi/asm/termbits.h|6 +++--- arch/avr32/include/uapi/asm/termios.h |1 - arch/avr32/include/uapi/asm/types.h |5 + arch/avr32/include/uapi/asm/unistd.h |1 - 30 files changed, 44 insertions(+), 90 deletions(-) delete mode 100644 arch/avr32/include/uapi/asm/bitsperlong.h delete mode 100644 arch/avr32/include/uapi/asm/errno.h delete mode 100644 arch/avr32/include/uapi/asm/fcntl.h delete mode 100644 arch/avr32/include/uapi/asm/ioctl.h delete mode 100644 arch/avr32/include/uapi/asm/ioctls.h delete mode 100644 arch/avr32/include/uapi/asm/ipcbuf.h delete mode 100644 arch/avr32/include/uapi/asm/kvm_para.h delete mode 100644 arch/avr32/include/uapi/asm/mman.h delete mode 100644 arch/avr32/include/uapi/asm/poll.h delete mode 100644 arch/avr32/include/uapi/asm/resource.h delete mode 100644 arch/avr32/include/uapi/asm/siginfo.h delete mode 100644 arch/avr32/include/uapi/asm/statfs.h diff --git a/arch/avr32/include/uapi/asm/auxvec.h b/arch/avr32/include/uapi/asm/auxvec.h index d5dd435..4f02da3 100644 --- a/arch/avr32/include/uapi/asm/auxvec.h +++ b/arch/avr32/include/uapi/asm/auxvec.h @@ -1,4 +1,4 @@ -#ifndef __ASM_AVR32_AUXVEC_H -#define __ASM_AVR32_AUXVEC_H +#ifndef _UAPI__ASM_AVR32_AUXVEC_H +#define _UAPI__ASM_AVR32_AUXVEC_H -#endif /* __ASM_AVR32_AUXVEC_H */ +#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 6dc0bb0..000 --- a/arch/avr32/include/uapi/asm/bitsperlong.h +++ /dev/null @@ -1 +0,0 @@ -#include asm-generic/bitsperlong.h diff --git a/arch/avr32/include/uapi/asm/byteorder.h b/arch/avr32/include/uapi/asm/byteorder.h index 50abc21..71242f0 100644 --- a/arch/avr32/include/uapi/asm/byteorder.h +++ b/arch/avr32/include/uapi/asm/byteorder.h @@ -1,9 +1,9 @@ /* * AVR32 endian-conversion functions. */ -#ifndef __ASM_AVR32_BYTEORDER_H -#define __ASM_AVR32_BYTEORDER_H +#ifndef _UAPI__ASM_AVR32_BYTEORDER_H +#define _UAPI__ASM_AVR32_BYTEORDER_H #include linux/byteorder/big_endian.h -#endif /* __ASM_AVR32_BYTEORDER_H */ +#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 4faf1ce..573a958 100644 --- a/arch/avr32/include/uapi/asm/cachectl.h +++ b/arch/avr32/include/uapi/asm/cachectl.h @@ -1,5 +1,5 @@ -#ifndef __ASM_AVR32_CACHECTL_H -#define __ASM_AVR32_CACHECTL_H +#ifndef _UAPI__ASM_AVR32_CACHECTL_H +#define _UAPI__ASM_AVR32_CACHECTL_H /* * Operations that can be performed through the cacheflush system call @@ -8,4 +8,4 @@ /* Clean the data cache, then invalidate the icache */ #define CACHE_IFLUSH 0 -#endif /* __ASM_AVR32_CACHECTL_H */ +#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 558a724..000 --- a/arch/avr32/include/uapi/asm/errno.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef __ASM_AVR32_ERRNO_H -#define __ASM_AVR32_ERRNO_H -