summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-04-28 04:44:08 (GMT)
committerPaul Mackerras <paulus@samba.org>2008-04-29 05:57:34 (GMT)
commitdd18434ff0b7d9b9ad3d596985fc84b329d2f9a8 (patch)
tree075067cc4390d186cef962098fae2e11d34c5bef /arch/powerpc/kernel
parent745a14cc264b1832c638e41812e0cb04328b2db1 (diff)
downloadlinux-fsl-qoriq-dd18434ff0b7d9b9ad3d596985fc84b329d2f9a8.tar.xz
[POWERPC] Use __always_inline for xchg* and cmpxchg*
This changes the definitions of the xchg and cmpxchg families of functions in include/asm-powerpc/system.h to be marked __always_inline rather than __inline__. The reason for doing this is that we rely on the compiler inlining them in order to eliminate the references to __xchg_called_with_bad_pointer and __cmpxchg_called_with_bad_pointer, which are deliberately left undefined. Thus this change will enable us to make the inline keyword be just a hint rather than a directive. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions