diff options
author | Bart Van Assche <bart.vanassche@gmail.com> | 2008-06-28 16:51:35 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-07-01 11:29:00 +1000 |
commit | 89b5810f6ed4b2d42415e5ec656ab6b148cd2bde (patch) | |
tree | e3116100d5be38f2ebfaa078cd53033d1f612059 /include/asm-parisc | |
parent | fcbc5a976b1cafe2e866871c86d239d57503bfd5 (diff) |
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: Bart Van Assche <bart.vanassche@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-parisc')
0 files changed, 0 insertions, 0 deletions