summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/unistd.h')
-rw-r--r--arch/arm64/include/asm/unistd.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h
index fe18a683274..8f03dee066e 100644
--- a/arch/arm64/include/asm/unistd.h
+++ b/arch/arm64/include/asm/unistd.h
@@ -13,15 +13,13 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#if !defined(__ASM_UNISTD_H) || defined(__SYSCALL)
-#define __ASM_UNISTD_H
#ifndef __SYSCALL_COMPAT
#include <asm-generic/unistd.h>
#endif
-#if defined(__KERNEL__) && defined(CONFIG_COMPAT)
+#ifdef __KERNEL__
+#ifdef CONFIG_COMPAT
#include <asm/unistd32.h>
#endif
-
-#endif /* __ASM_UNISTD_H */
+#endif