Title: [9198] trunk/arch/blackfin/Makefile: blackfin: update sparse flags for latest upstream changes
- Revision
- 9198
- Author
- vapier
- Date
- 2010-10-09 09:32:52 -0400 (Sat, 09 Oct 2010)
Log Message
blackfin: update sparse flags for latest upstream changes
Modified Paths
Diff
Modified: trunk/arch/blackfin/Makefile (9197 => 9198)
--- trunk/arch/blackfin/Makefile 2010-10-08 10:16:45 UTC (rev 9197)
+++ trunk/arch/blackfin/Makefile 2010-10-09 13:32:52 UTC (rev 9198)
@@ -101,9 +101,8 @@
KBUILD_AFLAGS += -mcpu=$(cpu-y)-$(rev-y)
# - we utilize the silicon rev from the toolchain, so move it over to the checkflags
-# - the l1_text attribute is Blackfin specific, so fake it out as used to kill warnings
CHECKFLAGS_SILICON = $(shell echo "" | $(CPP) $(KBUILD_CFLAGS) -dD - 2>/dev/null | awk '$$2 == "__SILICON_REVISION__" { print $$3 }')
-CHECKFLAGS += -D__SILICON_REVISION__=$(CHECKFLAGS_SILICON) -Dl1_text=__used__
+CHECKFLAGS += -D__SILICON_REVISION__=$(CHECKFLAGS_SILICON) -D__bfin__
head-y := arch/$(ARCH)/kernel/init_task.o
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits