m32r: __xchg() should be always_inline

it depends on elimination of unreachable branches in switch (by object
size), so we must declare it always_inline

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Al Viro and committed by Linus Torvalds b4e1ded3 8eafafb5

+2 -1
+2 -1
include/asm-m32r/system.h
··· 10 * Copyright (C) 2004, 2006 Hirokazu Takata <takata at linux-m32r.org> 11 */ 12 13 #include <asm/assembler.h> 14 15 #ifdef __KERNEL__ ··· 155 #define DCACHE_CLEAR(reg0, reg1, addr) 156 #endif /* CONFIG_CHIP_M32700_TS1 */ 157 158 - static inline unsigned long 159 __xchg(unsigned long x, volatile void * ptr, int size) 160 { 161 unsigned long flags;
··· 10 * Copyright (C) 2004, 2006 Hirokazu Takata <takata at linux-m32r.org> 11 */ 12 13 + #include <linux/compiler.h> 14 #include <asm/assembler.h> 15 16 #ifdef __KERNEL__ ··· 154 #define DCACHE_CLEAR(reg0, reg1, addr) 155 #endif /* CONFIG_CHIP_M32700_TS1 */ 156 157 + static __always_inline unsigned long 158 __xchg(unsigned long x, volatile void * ptr, int size) 159 { 160 unsigned long flags;