From: Sonic Zhang Date: Fri, 12 Aug 2011 09:57:57 +0000 (+0800) Subject: Blackfin: kgdb_test: rework code to avoid -O0 usage X-Git-Tag: v3.2-rc1~153^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9930fd234b64ac0fcdb3e6a626d9ba44fc250fb;p=pandora-kernel.git Blackfin: kgdb_test: rework code to avoid -O0 usage __kfree_rcu() in rcupdate.h bugs when parameter offset is not a constant at compile time. Since we build the kgdb_test module with -O0 and it includes this header file, we hit the bug. So drop the -O0 and mark the one func we need for the test as noinline (so we can set a breakpoint on it and have it be hit). Signed-off-by: Sonic Zhang Signed-off-by: Mike Frysinger --- Reading git-diff-tree failed