linux/arch/hexagon/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>
History 2012-10-04 12:10:18 +01:00
..
asm-offsets.h Hexagon: Add processor and system headers 2011-11-01 07:34:18 -07:00
atomic.h Disintegrate asm/system.h for Hexagon 2012-03-28 18:30:02 +01:00
barrier.h Disintegrate asm/system.h for Hexagon 2012-03-28 18:30:02 +01:00
bitops.h Disintegrate asm/system.h for Hexagon 2012-03-28 18:30:02 +01:00
bitsperlong.h Hexagon: Add generic headers 2011-11-01 07:34:18 -07:00
byteorder.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
cache.h Hexagon: Implement basic cache-flush support 2011-11-01 07:34:20 -07:00
cacheflush.h Hexagon: Implement basic cache-flush support 2011-11-01 07:34:20 -07:00
checksum.h Hexagon: Add checksum functions 2011-11-01 07:34:18 -07:00
cmpxchg.h Disintegrate asm/system.h for Hexagon 2012-03-28 18:30:02 +01:00
delay.h Hexagon: Add delay functions 2011-11-01 07:34:18 -07:00
dma-mapping.h Hexagon: adapt for dma_map_ops changes 2012-03-28 16:36:40 +02:00
dma.h Hexagon: Provide DMA implementation 2011-11-01 07:34:20 -07:00
elf.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
exec.h Disintegrate asm/system.h for Hexagon 2012-03-28 18:30:02 +01:00
fixmap.h Hexagon: Add page table header files & etc. 2011-11-01 07:34:20 -07:00
fpu.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
futex.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
hexagon_vm.h Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00
intrinsics.h Hexagon: Add checksum functions 2011-11-01 07:34:18 -07:00
io.h Hexagon: Provide basic implementation and/or stubs for I/O routines. 2011-11-01 07:34:20 -07:00
irq.h Hexagon: Add interrupts 2011-11-01 07:34:19 -07:00
irqflags.h Hexagon: Add processor and system headers 2011-11-01 07:34:18 -07:00
Kbuild Remove useless wrappers of asm-generic/ipc.h 2012-06-28 11:28:59 +02:00
kgdb.h Hexagon: kgdb support files 2011-11-01 07:34:21 -07:00
kvm_para.h kvmclock: Add functions to check if the host has stopped the vm 2012-04-08 12:48:59 +03:00
linkage.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
mem-layout.h Hexagon: Add page-fault support. 2011-11-01 07:34:20 -07:00
mmu.h Hexagon: Add page table header files & etc. 2011-11-01 07:34:20 -07:00
mmu_context.h Hexagon: Add page table header files & etc. 2011-11-01 07:34:20 -07:00
module.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
mutex.h Hexagon: Add generic headers 2011-11-01 07:34:18 -07:00
page.h Hexagon: Add page table header files & etc. 2011-11-01 07:34:20 -07:00
param.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
perf_event.h perf, arch: Rework perf_event_index() 2011-12-21 11:01:07 +01:00
pgalloc.h Hexagon: Add page table header files & etc. 2011-11-01 07:34:20 -07:00
pgtable.h Hexagon: Add page table header files & etc. 2011-11-01 07:34:20 -07:00
processor.h fork: move the real prepare_to_copy() users to arch_dup_task_struct() 2012-05-16 15:16:26 -07:00
ptrace.h Hexagon: Add ptrace support 2011-11-01 07:34:19 -07:00
registers.h Hexagon: Add processor and system headers 2011-11-01 07:34:18 -07:00
setup.h Hexagon: Add generic headers 2011-11-01 07:34:18 -07:00
sigcontext.h Hexagon: Add signal functions 2011-11-01 07:34:19 -07:00
signal.h Hexagon: Add signal functions 2011-11-01 07:34:19 -07:00
smp.h Hexagon: Add SMP support 2011-11-01 07:34:20 -07:00
spinlock.h Hexagon: Add locking types and functions 2011-11-01 07:34:20 -07:00
spinlock_types.h Remove unneeded include of version.h from arch/hexagon/include/asm/spinlock_types.h 2012-05-22 18:40:45 -05:00
string.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
suspend.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
swab.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
switch_to.h Disintegrate asm/system.h for Hexagon 2012-03-28 18:30:02 +01:00
syscall.h Hexagon: Add syscalls 2011-11-01 07:34:18 -07:00
thread_info.h hexagon: Use common threadinfo allocator 2012-05-08 14:08:45 +02:00
time.h Hexagon: Add time and timer functions 2011-11-01 07:34:19 -07:00
timer-regs.h Hexagon: Add time and timer functions 2011-11-01 07:34:19 -07:00
timex.h Hexagon: Core arch-specific header files 2011-11-01 07:34:18 -07:00
tlb.h Hexagon: Implement basic TLB management routines for Hexagon. 2011-11-01 07:34:20 -07:00
tlbflush.h Hexagon: Implement basic TLB management routines for Hexagon. 2011-11-01 07:34:20 -07:00
traps.h Hexagon: Provide basic debugging and system trap support. 2011-11-01 07:34:19 -07:00
uaccess.h Hexagon: Add user access functions 2011-11-01 07:34:20 -07:00
unistd.h UAPI: Fix the guards on various asm/unistd.h files 2012-10-04 12:10:18 +01:00
user.h Hexagon: Add generic headers 2011-11-01 07:34:18 -07:00
vdso.h Hexagon: Add signal functions 2011-11-01 07:34:19 -07:00
vm_fault.h Hexagon: Add page-fault support. 2011-11-01 07:34:20 -07:00
vm_mmu.h Hexagon: Add hypervisor interface 2011-11-01 07:34:19 -07:00