From: Chris Zankel Date: Wed, 24 Oct 2012 03:17:05 +0000 (-0700) Subject: xtensa: allow multi-inclusion for uapi/unistd.h X-Git-Tag: v3.7-rc4~13^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f72d4f6a29cf84c40fc05c76020b347b4774393;p=pandora-kernel.git 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 --- Reading git-diff-tree failed