linux/arch/arm64/include/asm
David Howells 890139529d UAPI: Fix the guards on various asm/unistd.h files
asm-generic/unistd.h and a number of asm/unistd.h files have been given
reinclusion guards that allow the guard to be overridden if __SYSCALL is
defined.  Unfortunately, these files define __SYSCALL and don't undefine it
when they've finished with it, thus rendering the guard ineffective.

The reason for this override is to allow the file to be #included multiple
times with different settings on __SYSCALL for purposes like generating syscall
tables.

The following guards are problematic:

arch/arm64/include/asm/unistd.h:#if !defined(__ASM_UNISTD_H) || defined(__SYSCALL)
arch/arm64/include/asm/unistd32.h:#if !defined(__ASM_UNISTD32_H) || defined(__SYSCALL)
arch/c6x/include/asm/unistd.h:#if !defined(_ASM_C6X_UNISTD_H) || defined(__SYSCALL)
arch/hexagon/include/asm/unistd.h:#if !defined(_ASM_HEXAGON_UNISTD_H) || defined(__SYSCALL)
arch/openrisc/include/asm/unistd.h:#if !defined(__ASM_OPENRISC_UNISTD_H) || defined(__SYSCALL)
arch/score/include/asm/unistd.h:#if !defined(_ASM_SCORE_UNISTD_H) || defined(__SYSCALL)
arch/tile/include/asm/unistd.h:#if !defined(_ASM_TILE_UNISTD_H) || defined(__SYSCALL)
arch/unicore32/include/asm/unistd.h:#if !defined(__UNICORE_UNISTD_H__) || defined(__SYSCALL)
include/asm-generic/unistd.h:#if !defined(_ASM_GENERIC_UNISTD_H) || defined(__SYSCALL)

On the assumption that the guards' ineffectiveness has passed unnoticed, just
remove these guards entirely.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
2012-10-04 12:10:18 +01:00
..
arm_generic.h arm64: Generic timers support 2012-09-17 13:42:20 +01:00
asm-offsets.h
assembler.h
atomic.h arm64: Atomic operations 2012-09-17 13:42:02 +01:00
auxvec.h arm64: ELF definitions 2012-09-17 13:42:07 +01:00
barrier.h arm64: Miscellaneous header files 2012-09-17 13:42:21 +01:00
bitops.h arm64: Miscellaneous library functions 2012-09-17 13:42:18 +01:00
bitsperlong.h arm64: Miscellaneous header files 2012-09-17 13:42:21 +01:00
byteorder.h arm64: Miscellaneous header files 2012-09-17 13:42:21 +01:00
cache.h arm64: Cache maintenance routines 2012-09-17 13:42:00 +01:00
cacheflush.h arm64: Cache maintenance routines 2012-09-17 13:42:00 +01:00
cachetype.h arm64: Cache maintenance routines 2012-09-17 13:42:00 +01:00
cmpxchg.h arm64: Miscellaneous header files 2012-09-17 13:42:21 +01:00
compat.h arm64: 32-bit (compat) applications support 2012-09-17 13:42:12 +01:00
compiler.h arm64: Miscellaneous header files 2012-09-17 13:42:21 +01:00
cputable.h arm64: CPU support 2012-09-17 13:41:59 +01:00
cputype.h arm64: CPU support 2012-09-17 13:41:59 +01:00
debug-monitors.h arm64: Debugging support 2012-09-17 13:42:14 +01:00
device.h arm64: Device specific operations 2012-09-17 13:42:04 +01:00
dma-mapping.h arm64: DMA mapping API 2012-09-17 13:42:05 +01:00
elf.h arm64: ELF definitions 2012-09-17 13:42:07 +01:00
exception.h arm64: Miscellaneous header files 2012-09-17 13:42:21 +01:00
exec.h arm64: Miscellaneous header files 2012-09-17 13:42:21 +01:00
fb.h arm64: Device specific operations 2012-09-17 13:42:04 +01:00
fcntl.h arm64: Miscellaneous header files 2012-09-17 13:42:21 +01:00
fpsimd.h arm64: Floating point and SIMD 2012-09-17 13:42:13 +01:00
futex.h arm64: Atomic operations 2012-09-17 13:42:02 +01:00
hardirq.h arm64: SMP support 2012-09-17 13:42:06 +01:00
hw_breakpoint.h arm64: Debugging support 2012-09-17 13:42:14 +01:00
hwcap.h arm64: ELF definitions 2012-09-17 13:42:07 +01:00
io.h arm64: Device specific operations 2012-09-17 13:42:04 +01:00
irq.h arm64: IRQ handling 2012-09-17 13:42:02 +01:00
irqflags.h arm64: IRQ handling 2012-09-17 13:42:02 +01:00
Kbuild arm64: Miscellaneous header files 2012-09-17 13:42:21 +01:00
memblock.h arm64: MMU initialisation 2012-09-17 13:41:56 +01:00
memory.h arm64: MMU definitions 2012-09-17 13:41:56 +01:00
mmu_context.h arm64: Process management 2012-09-17 13:41:58 +01:00
mmu.h arm64: MMU definitions 2012-09-17 13:41:56 +01:00
module.h arm64: Loadable modules 2012-09-17 13:42:19 +01:00
page.h arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
param.h arm64: ELF definitions 2012-09-17 13:42:07 +01:00
perf_event.h arm64: Performance counters support 2012-09-17 13:42:17 +01:00
pgalloc.h arm64: MMU fault handling and page table management 2012-09-17 13:41:57 +01:00
pgtable-2level-hwdef.h arm64: MMU definitions 2012-09-17 13:41:56 +01:00
pgtable-2level-types.h arm64: MMU definitions 2012-09-17 13:41:56 +01:00
pgtable-3level-hwdef.h arm64: MMU definitions 2012-09-17 13:41:56 +01:00
pgtable-3level-types.h arm64: MMU definitions 2012-09-17 13:41:56 +01:00
pgtable-hwdef.h arm64: MMU definitions 2012-09-17 13:41:56 +01:00
pgtable.h arm64: MMU definitions 2012-09-17 13:41:56 +01:00
pmu.h arm64: Performance counters support 2012-09-17 13:42:17 +01:00
proc-fns.h arm64: CPU support 2012-09-17 13:41:59 +01:00
processor.h arm64: CPU support 2012-09-17 13:41:59 +01:00
prom.h arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
ptrace.h arm64: ptrace: remove obsolete ptrace request numbers from user headers 2012-09-27 11:46:22 +01:00
setup.h arm64: Kernel booting and initialisation 2012-09-17 10:24:45 +01:00
shmparam.h arm64: ELF definitions 2012-09-17 13:42:07 +01:00
sigcontext.h arm64: Signal handling support 2012-09-17 13:42:10 +01:00
siginfo.h arm64: Signal handling support 2012-09-17 13:42:10 +01:00
signal32.h arm64: 32-bit (compat) applications support 2012-09-17 13:42:12 +01:00
signal.h arm64: Signal handling support 2012-09-17 13:42:10 +01:00
smp.h arm64: SMP support 2012-09-17 13:42:06 +01:00
sparsemem.h arm64: MMU definitions 2012-09-17 13:41:56 +01:00
spinlock_types.h arm64: SMP support 2012-09-17 13:42:06 +01:00
spinlock.h arm64: SMP support 2012-09-17 13:42:06 +01:00
stacktrace.h arm64: Exception handling 2012-09-17 10:24:46 +01:00
stat.h arm64: System calls handling 2012-09-17 13:42:08 +01:00
statfs.h arm64: System calls handling 2012-09-17 13:42:08 +01:00
syscall.h arm64: Miscellaneous library functions 2012-09-17 13:42:18 +01:00
syscalls.h arm64: System calls handling 2012-09-17 13:42:08 +01:00
system_misc.h arm64: Miscellaneous header files 2012-09-17 13:42:21 +01:00
thread_info.h arm64: Process management 2012-09-17 13:41:58 +01:00
timex.h arm64: Generic timers support 2012-09-17 13:42:20 +01:00
tlb.h arm64: TLB maintenance functionality 2012-09-17 13:42:01 +01:00
tlbflush.h arm64: TLB maintenance functionality 2012-09-17 13:42:01 +01:00
traps.h arm64: Exception handling 2012-09-17 10:24:46 +01:00
uaccess.h arm64: User access library functions 2012-09-17 13:42:11 +01:00
ucontext.h arm64: Signal handling support 2012-09-17 13:42:10 +01:00
unistd32.h UAPI: Fix the guards on various asm/unistd.h files 2012-10-04 12:10:18 +01:00
unistd.h UAPI: Fix the guards on various asm/unistd.h files 2012-10-04 12:10:18 +01:00
vdso_datapage.h arm64: VDSO support 2012-09-17 13:42:09 +01:00
vdso.h arm64: VDSO support 2012-09-17 13:42:09 +01:00