From: Bart Van Assche Date: Sat, 28 Jun 2008 06:51:35 +0000 (+1000) Subject: powerpc: Make sure that include/asm-powerpc/spinlock.h does not trigger compilation... X-Git-Tag: v2.6.27-rc1~1058^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89b5810f6ed4b2d42415e5ec656ab6b148cd2bde;p=pandora-kernel.git powerpc: Make sure that include/asm-powerpc/spinlock.h does not trigger compilation warnings When compiling kernel modules for ppc that include , gcc prints a warning message every time it encounters a function declaration where the inline keyword appears after the return type. This makes sure that the order of the inline keyword and the return type is as gcc expects it. Additionally, the __inline__ keyword is replaced by inline, as checkpatch expects. Signed-off-by: Bart Van Assche Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed