The gcc version I use do not include a definition of __linux__. Like many other archs add this to CFLAGS. This fixes at least the following build error: include/uapi/linux/coda.h:221: error: expected specifier-qualifier-list before 'u_quad_t' Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx> --- arch/sparc/Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index 541b8b0..f489626 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile @@ -14,6 +14,8 @@ else KBUILD_DEFCONFIG := sparc64_defconfig endif +KBUILD_CFLAGS += -D__linux__ + ifeq ($(CONFIG_SPARC32),y) ##### # sparc32 -- 1.6.0.6 -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html