linux_dsm_epyc7002/arch/openrisc/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
..
bitops OpenRISC: Headers 2011-07-22 18:46:39 +02:00
asm-offsets.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
bitops.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
byteorder.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
cache.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
cpuinfo.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
delay.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
dma-mapping.h openrisc: provide dma_map_ops 2012-05-08 11:43:51 +02:00
elf.h openrisc: header file cleanups 2012-05-08 11:43:30 +02:00
fixmap.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
gpio.h gpiolib/arches: Centralise bolierplate asm/gpio.h 2012-05-11 18:00:14 -06:00
io.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
irq.h OpenRISC: IRQ 2011-07-22 18:46:33 +02:00
irqflags.h OpenRISC: IRQ 2011-07-22 18:46:33 +02:00
Kbuild Remove useless wrappers of asm-generic/rmap.h 2012-06-28 11:29:26 +02: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 OpenRISC: Headers 2011-07-22 18:46:39 +02:00
mmu_context.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
mmu.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
mutex.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
page.h OpenRISC: Remove memory_start/end prototypes 2012-03-06 10:37:21 +01:00
param.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
pgalloc.h OpenRISC: Memory management 2011-07-22 18:46:28 +02: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
prom.h irq_domain: Centralize definition of irq_dispose_mapping() 2012-02-26 16:48:06 -07:00
ptrace.h openrisc: header file cleanups 2012-05-08 11:43:30 +02:00
serial.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
sigcontext.h openrisc: don't use pt_regs in struct sigcontext 2011-09-05 14:29:12 +02:00
spinlock.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
spr_defs.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
spr.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
syscall.h openrisc: sanitize use of orig_gpr11 2012-03-06 10:37:00 +01:00
syscalls.h OpenRISC: System calls 2011-07-22 18:46:34 +02:00
thread_info.h OpenRISC: Scheduling/Process management 2011-07-22 18:46:36 +02:00
timex.h OpenRISC: Timekeeping 2011-07-22 18:46:32 +02:00
tlb.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
tlbflush.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
uaccess.h openrisc: use generic strnlen_user() function 2012-05-27 21:00:32 -07:00
unaligned.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
unistd.h UAPI: Fix the guards on various asm/unistd.h files 2012-10-04 12:10:18 +01:00