Skip to content
Commit 1e01c7eb authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: Allow conditional multiple inclusion of uapi/asm/unistd.h



Commit 97bc386f "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: default avatarChen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 319e2e3f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment