linux/arch/score/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 score: add asm/asm-offsets.h wrapper 2009-12-12 13:08:16 +01:00
asmmacro.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
atomic.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
auxvec.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
barrier.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
bitops.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
bitsperlong.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
bug.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
bugs.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
byteorder.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
cache.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
cacheflush.h score: add flush_dcahce_page and PG_dcache_dirty define 2009-12-17 18:28:31 +08:00
checksum.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
cmpxchg.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
cputime.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
current.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
delay.h score: include asm-generic/param.h in asm/delay.h. 2009-12-17 18:31:23 +08:00
device.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
div64.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
dma-mapping.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
dma.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
elf.h elf: kill USE_ELF_CORE_DUMP 2009-12-16 07:20:12 -08:00
emergency-restart.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
errno.h score: update files according to review comments 2009-06-19 11:40:13 +02:00
exec.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
fcntl.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
fixmap.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
ftrace.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
futex.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
hardirq.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
hw_irq.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
io.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
ioctl.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
ioctls.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
ipcbuf.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
irq.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
irq_regs.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
irqflags.h score: lost a semicolon in asm/irqflags.h 2011-03-28 12:02:20 +08:00
Kbuild score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
kdebug.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
kmap_types.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +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 score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
local.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
local64.h arch: Implement local64_t 2010-06-09 11:12:36 +02:00
mman.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
mmu.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
mmu_context.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
module.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
msgbuf.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
mutex.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
page.h score: fixed pfn_valid define. 2009-12-17 18:28:31 +08:00
param.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
pci.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
percpu.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
pgalloc.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
pgtable-bits.h score: update files according to review comments 2009-06-19 11:40:13 +02:00
pgtable.h mm: remove pte_*map_nested() 2010-10-26 16:52:08 -07:00
poll.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
posix_types.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02: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 ptrace: move user_enable_single_step & co prototypes to linux/ptrace.h 2010-03-12 15:52:38 -08:00
resource.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
scatterlist.h remove needless ISA_DMA_THRESHOLD 2010-08-07 18:15:50 +02:00
scoreregs.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
sections.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
segment.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
sembuf.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
setup.h score: add MEMORY_START and MEMORY_SIZE define, to make the code clear 2009-08-30 12:31:58 +08:00
shmbuf.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
shmparam.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
sigcontext.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
siginfo.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
signal.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
socket.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
sockios.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
stat.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
statfs.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
string.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
swab.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
switch_to.h Disintegrate asm/system.h for Score 2012-03-28 18:30:02 +01:00
syscalls.h score: add prototypes for wrapped syscalls 2009-06-19 14:10:46 +02:00
termbits.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
termios.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
thread_info.h score: Use common threadinfo allocator 2012-05-08 14:08:46 +02:00
timex.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
tlb.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
tlbflush.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
topology.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
types.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
uaccess.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
ucontext.h score: add missing #includes 2009-06-27 15:09:46 +02:00
unaligned.h score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
unistd.h UAPI: Fix the guards on various asm/unistd.h files 2012-10-04 12:10:18 +01:00
user.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00