Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/ps3: Remove inline marking of EXPORT_SYMBOL functions

EXPORT_SYMBOL and inline directives are contradictory to each other.
The patch fixes this inconsistency.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Denis Efremov <yefremov.denis@gmail.com>
Acked-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Denis Efremov and committed by
Benjamin Herrenschmidt
e9419669 721cb59e

+1 -1
+1 -1
arch/powerpc/platforms/ps3/spu.c
··· 143 143 pr_debug("%s:%d: shadow: %lxh\n", func, line, shadow); 144 144 } 145 145 146 - inline u64 ps3_get_spe_id(void *arg) 146 + u64 ps3_get_spe_id(void *arg) 147 147 { 148 148 return spu_pdata(arg)->spe_id; 149 149 }