To: linus, akpm Cc: lkml Subject: [PATCH] M68k sparse M68k: Make sparse work Signed-off-by: Geert Uytterhoeven --- Makefile | 2 ++ 1 file changed, 2 insertions(+) --- linux-2.6.7/arch/m68k/Makefile 2004-05-24 11:13:22.000000000 +0200 +++ linux-m68k-2.6.7/arch/m68k/Makefile 2004-06-20 10:49:05.000000000 +0200 @@ -28,6 +28,8 @@ ifdef CONFIG_SUN3 LDFLAGS_vmlinux = -N endif +CHECK := $(CHECK) -D__mc68000__=1 -I$(shell $(CC) -print-file-name=include) + # without -fno-strength-reduce the 53c7xx.c driver fails ;-( CFLAGS += -pipe -fno-strength-reduce -ffixed-a2