Skip to content
Commit 89b5810f authored by Bart Van Assche's avatar Bart Van Assche Committed by Paul Mackerras
Browse files

powerpc: Make sure that include/asm-powerpc/spinlock.h does not trigger compilation warnings



When compiling kernel modules for ppc that include <linux/spinlock.h>,
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: default avatarBart Van Assche <bart.vanassche@gmail.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent fcbc5a97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment