fix asm-mips/types.h syntax error
authorAdrian Bunk <bunk@kernel.org>
Sat, 3 May 2008 19:26:17 +0000 (22:26 +0300)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 4 May 2008 21:45:55 +0000 (14:45 -0700)
This patch fixes the following compile error caused by
commit 23cf11ddb5099f8c7f7cb3eb154bff0faf31cae9
(mips: types: use <asm-generic/int-*.h> for the mips architecture):

<--  snip  -->

...
  CC      kernel/bounds.s
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/types.h:12,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/page-flags.h:8,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/kernel/bounds.c:9:
include2/asm/types.h:56:2: error: #endif without #if
make[2]: *** [kernel/bounds.s] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
include/asm-mips/types.h

index 7a2ee4f40131135bf21336cea8fe5249376dfb5f..bcbb8d675af5ffdd51bd1a8ddb2b45985c5a6e49 100644 (file)
@@ -19,8 +19,6 @@
 
 typedef unsigned short umode_t;
 
-#endif
-
 #endif /* __ASSEMBLY__ */
 
 /*