linux_dsm_epyc7002/arch/c6x/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
..
asm-offsets.h C6X: headers 2011-10-06 19:48:20 -04:00
bitops.h Disintegrate asm/system.h for C6X 2012-03-28 18:30:02 +01:00
bug.h Disintegrate asm/system.h for C6X 2012-03-28 18:30:02 +01:00
byteorder.h C6X: headers 2011-10-06 19:48:20 -04:00
cache.h C6X: add Lx_CACHE_SHIFT defines 2012-08-15 12:26:54 -04:00
cacheflush.h C6X: cache control 2011-10-06 19:48:10 -04:00
checksum.h C6X: library code 2011-10-06 19:48:23 -04:00
clkdev.h C6X: clocks 2011-10-06 19:48:07 -04:00
clock.h C6X: clocks 2011-10-06 19:48:07 -04:00
cmpxchg.h Disintegrate asm/system.h for C6X 2012-03-28 18:30:02 +01:00
delay.h C6X: headers 2011-10-06 19:48:20 -04:00
dma-mapping.h C6X: memory management and DMA support 2011-10-06 19:47:37 -04:00
dscr.h C6X: DSCR - Device State Configuration Registers 2011-10-06 19:48:36 -04:00
elf.h C6X: add support to build with BINFMT_ELF_FDPIC 2012-05-15 09:17:34 -04:00
exec.h Disintegrate asm/system.h for C6X 2012-03-28 18:30:02 +01:00
ftrace.h C6X: headers 2011-10-06 19:48:20 -04:00
hardirq.h C6X: interrupt handling 2011-10-06 19:47:54 -04:00
irq.h C6X: remove dependence on legacy IRQs 2012-07-18 23:49:40 -04:00
irqflags.h C6X: interrupt handling 2011-10-06 19:47:54 -04:00
Kbuild c6x: use asm-generic/barrier.h 2012-09-24 14:39:36 -04: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 C6X: headers 2011-10-06 19:48:20 -04:00
megamod-pic.h C6X: interrupt handling 2011-10-06 19:47:54 -04:00
mmu.h C6X: add support to build with BINFMT_ELF_FDPIC 2012-05-15 09:17:34 -04:00
module.h C6X: loadable module support 2011-10-06 19:48:13 -04:00
mutex.h C6X: headers 2011-10-06 19:48:20 -04:00
page.h C6X: headers 2011-10-06 19:48:20 -04:00
pgtable.h Remove remaining bits of io_remap_page_range() 2012-03-23 16:58:31 -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
procinfo.h C6X: headers 2011-10-06 19:48:20 -04:00
prom.h C6X: headers 2011-10-06 19:48:20 -04:00
ptrace.h C6X: add support to build with BINFMT_ELF_FDPIC 2012-05-15 09:17:34 -04:00
sections.h C6X: headers 2011-10-06 19:48:20 -04:00
setup.h Disintegrate asm/system.h for C6X 2012-03-28 18:30:02 +01:00
sigcontext.h C6X: signal management 2011-10-06 19:47:46 -04:00
signal.h C6X: signal management 2011-10-06 19:47:46 -04:00
soc.h C6X: general SoC support 2011-10-06 19:48:26 -04:00
special_insns.h Disintegrate asm/system.h for C6X 2012-03-28 18:30:02 +01:00
string.h C6X: headers 2011-10-06 19:48:20 -04:00
swab.h C6X: headers 2011-10-06 19:48:20 -04:00
switch_to.h Disintegrate asm/system.h for C6X 2012-03-28 18:30:02 +01:00
syscall.h C6X: headers 2011-10-06 19:48:20 -04:00
syscalls.h C6X: syscalls 2011-10-06 19:47:58 -04:00
thread_info.h c6x: Use common threadinfo allocator 2012-05-08 14:08:44 +02:00
timer64.h C6X: time management 2011-10-06 19:47:51 -04:00
timex.h C6X: time management 2011-10-06 19:47:51 -04:00
tlb.h C6X: headers 2011-10-06 19:48:20 -04:00
traps.h C6X: build infrastructure 2011-10-06 19:48:02 -04:00
uaccess.h C6X: headers 2011-10-06 19:48:20 -04:00
unaligned.h C6X: headers 2011-10-06 19:48:20 -04:00
unistd.h UAPI: Fix the guards on various asm/unistd.h files 2012-10-04 12:10:18 +01:00