Skip to content

Commit

Permalink
fix asm-mips/types.h syntax error
Browse files Browse the repository at this point in the history
This patch fixes the following compile error caused by
commit 23cf11d
(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>
  • Loading branch information
Adrian Bunk authored and H. Peter Anvin committed May 4, 2008
1 parent 36bbfe2 commit 2961b42
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/asm-mips/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@

typedef unsigned short umode_t;

#endif

#endif /* __ASSEMBLY__ */

/*
Expand Down

0 comments on commit 2961b42

Please sign in to comment.