]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: Allow conditional multiple inclusion of uapi/asm/unistd.h
authorVineet Gupta <vgupta@synopsys.com>
Thu, 19 Dec 2013 13:25:58 +0000 (18:55 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 19 Dec 2013 14:14:12 +0000 (19:44 +0530)
commit17425f8c4276a7122f56fbcc5764a84d19c83496
tree6039e2cc7deef090473c1be68d73647bedd26c15
parentfec79ce97c190c86976e07ed6490ef5a2cfc3aea
ARC: Allow conditional multiple inclusion of uapi/asm/unistd.h

Commit 7287ef3235e7 "ARC: Add guard macro to uapi/asm/unistd.h"
inhibited multiple inclusion of ARCH unistd.h. This however hosed the system
since Generic syscall table generator relies on it being included twice,
and in lack-of an empty table was emitted by C preprocessor.

Fix that by allowing one exception to rule for the special case (just
like Xtensa)

Suggested-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/uapi/asm/unistd.h