diff options
author | Chris Zankel <chris@zankel.net> | 2012-10-23 20:17:05 -0700 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2012-10-25 14:53:36 -0700 |
commit | 2f72d4f6a29cf84c40fc05c76020b347b4774393 (patch) | |
tree | 3877c9fdac29b33d2beaab2c58c36a0d6f7649ca /arch/score | |
parent | 6f0c0580b70c89094b3422ba81118c7b959c7556 (diff) |
xtensa: allow multi-inclusion for uapi/unistd.h
Xtensa implements a method that allows to generate a arbitrary output
for each system call by defining the __SYSCALL(number, function, num_args).
This usually requires to include uapi/unistd.h twice. Instead of removing
the guard agains multiple inclusion entirely, allow to include unistd.h again
only if __SYSCALL is defined. Note that __SYSCALL gets always undefined at
the end of the file.
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/score')
0 files changed, 0 insertions, 0 deletions