Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b4e1ded3cf6e13c122f019532cb60347d6c88c8c Commit: b4e1ded3cf6e13c122f019532cb60347d6c88c8c Parent: 8eafafb54bc594be8a23b00b25055b59838a9c79 Author: Al Viro <[EMAIL PROTECTED]> AuthorDate: Tue May 15 20:37:00 2007 +0100 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Tue May 15 18:56:37 2007 -0700
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 <[EMAIL PROTECTED]> Acked-by: Hirokazu Takata <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- include/asm-m32r/system.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/asm-m32r/system.h b/include/asm-m32r/system.h index b291b2f..8ee73d3 100644 --- a/include/asm-m32r/system.h +++ b/include/asm-m32r/system.h @@ -10,6 +10,7 @@ * Copyright (C) 2004, 2006 Hirokazu Takata <takata at linux-m32r.org> */ +#include <linux/compiler.h> #include <asm/assembler.h> #ifdef __KERNEL__ @@ -154,7 +155,7 @@ extern void __xchg_called_with_bad_pointer(void); #define DCACHE_CLEAR(reg0, reg1, addr) #endif /* CONFIG_CHIP_M32700_TS1 */ -static inline unsigned long +static __always_inline unsigned long __xchg(unsigned long x, volatile void * ptr, int size) { unsigned long flags; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html