From: Yinghai Lu Date: Fri, 26 Dec 2008 10:05:47 +0000 (-0800) Subject: sparseirq: work around compiler optimizing away __weak functions X-Git-Tag: v2.6.29-rc1~550^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13a0c3c269b223f60abfac8a9811d77111a8b4ba;p=pandora-kernel.git sparseirq: work around compiler optimizing away __weak functions Impact: fix panic on null pointer with sparseirq Some GCC versions seem to inline the weak global function, when that function is empty. Work it around, by making the functions return a (dummy) integer. Signed-off-by: Yinghai Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed