alistair23-linux/arch/arc
Vineet Gupta 97bc386fc1 ARC: Add guard macro to uapi/asm/unistd.h
Chen originally proposed this as "right thing to do" however I
actually ran into this when building perf tools. Some of the utils
include unistd.h as well as linux/unistd.h. Since -I includes kernel
headers too, we end up including the ARC unistd.h twice, leading to
redefinition nwarnings.

------------------>8-------------------
    CC bench/sched-pipe.o
In file included from ~/kernel/arch/arc/include/uapi/asm/unistd.h:21:0,
                 from ~/kernel/include/uapi/linux/unistd.h:7,
                 from bench/sched-pipe.c:24:
~/kernel/include/uapi/asm-generic/unistd.h:889:0: error: "__NR_fcntl64"
redefined [-Werror]
 #define __NR_fcntl64 __NR3264_fcntl
 ^
In file included from
~/gnu/arc-linux-uclibc/sys-include/sys/syscall.h:24:0,
                 from bench/../perf.h:112,
                 from bench/sched-pipe.c:13:
~/gnu/arc-linux-uclibc/include/bits/sysnum.h:761:0: note: this is the
location of the previous definition
------------------>8-------------------

Verified that make headers_install works fine with this.

Suggested-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: David Howells <dhowells@redhat.com>
2013-11-25 10:35:23 +05:30
..
boot ARC: Add perf support for ARC700 cores 2013-11-12 09:45:38 +05:30
configs Final set of ARC changes for 3.13-rc1 2013-11-19 11:44:15 -08:00
include ARC: Add guard macro to uapi/asm/unistd.h 2013-11-25 10:35:23 +05:30
kernel Final set of ARC changes for 3.13-rc1 2013-11-19 11:44:15 -08:00
lib ARC: [lib] strchr breakage in Big-endian configuration 2013-08-24 11:24:53 -07:00
mm DeviceTree updates for 3.13. This is a bit larger pull request than 2013-11-12 16:52:17 +09:00
oprofile ARC: OProfile support 2013-02-15 23:16:00 +05:30
plat-arcfpga Couple of Platform updates (Device Tree files primarily) given that the 2013-07-10 10:11:26 -07:00
plat-tb10x ARC: [TB10x] Updates for GPIO and pinctrl 2013-11-11 09:57:44 +05:30
Kbuild
Kconfig ARC: extable: Enable sorting at build time 2013-11-25 10:35:23 +05:30
Kconfig.debug consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Makefile ARC: Adjustments for gcc 4.8 2013-06-27 14:35:32 +05:30