* [2.6 patch] fix asm-mips/types.h syntax error
@ 2008-05-03 19:26 Adrian Bunk
2008-05-03 19:36 ` H. Peter Anvin
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-05-03 19:26 UTC (permalink / raw)
To: H. Peter Anvin, Ralf Baechle; +Cc: linux-mips, linux-kernel, Andrew Morton
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>
---
5de735b6b9037ad6b8a30ef51f4bd8e011954144 diff --git a/include/asm-mips/types.h b/include/asm-mips/types.h
index 7a2ee4f..bcbb8d6 100644
--- a/include/asm-mips/types.h
+++ b/include/asm-mips/types.h
@@ -19,8 +19,6 @@
typedef unsigned short umode_t;
-#endif
-
#endif /* __ASSEMBLY__ */
/*
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [2.6 patch] fix asm-mips/types.h syntax error
2008-05-03 19:26 [2.6 patch] fix asm-mips/types.h syntax error Adrian Bunk
@ 2008-05-03 19:36 ` H. Peter Anvin
0 siblings, 0 replies; 2+ messages in thread
From: H. Peter Anvin @ 2008-05-03 19:36 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Ralf Baechle, linux-mips, linux-kernel, Andrew Morton
Adrian Bunk wrote:
> 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>
>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Went through the other patches, too, to verify none of the other
architectures were similarly affected.
-hpa
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-03 19:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-03 19:26 [2.6 patch] fix asm-mips/types.h syntax error Adrian Bunk
2008-05-03 19:36 ` H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox