commit: http://blackfin.uclinux.org/git/?p=linux-kernel;a=commitdiff;h=05967d520bcec24ae94510729bf5ba6f6abc8534
branch: http://blackfin.uclinux.org/git/?p=linux-kernel;a=shortlog;h=refs/heads/trunk

__kfree_rcu() in rcupdate.h bugs on parameter offset is not a constant
at compile time. kgdb_test module includes head file rcupdate.h. kgdb_test
module is compiled with flag O0. Parameter offset is not optimized into
a constant with flag O0.

Signed-off-by: Sonic Zhang <[email protected]>
---
 arch/blackfin/kernel/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/blackfin/kernel/Makefile b/arch/blackfin/kernel/Makefile
index 3c49cc4..915e6d9 100644
--- a/arch/blackfin/kernel/Makefile
+++ b/arch/blackfin/kernel/Makefile
@@ -39,6 +39,6 @@ obj-$(CONFIG_PERF_EVENTS)            += perf_event.o
 
 # the kgdb test puts code into L2 and without linker
 # relaxation, we need to force long calls to/from it
-CFLAGS_kgdb_test.o := -mlong-calls -O0
+CFLAGS_kgdb_test.o := -mlong-calls
 
 obj-$(CONFIG_DEBUG_MMRS)             += debug-mmrs.o
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to