From 822b76f1149ccbf55c0f3ad0eba23d5965073439 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 15 Dec 2011 14:55:53 -0800 Subject: [PATCH] --- yaml --- r: 277462 b: refs/heads/master c: 83d99df7c4bf37176d8c7b199e3b129a51fa04c8 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/x86/include/asm/bitops.h | 11 ++--------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/[refs] b/[refs] index a62046836a07..edfb77503df3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cebef5beed3de3037de85a521495897256b2c5da +refs/heads/master: 83d99df7c4bf37176d8c7b199e3b129a51fa04c8 diff --git a/trunk/arch/x86/include/asm/bitops.h b/trunk/arch/x86/include/asm/bitops.h index 1775d6e5920e..4a6235b053cb 100644 --- a/trunk/arch/x86/include/asm/bitops.h +++ b/trunk/arch/x86/include/asm/bitops.h @@ -380,6 +380,8 @@ static inline unsigned long __fls(unsigned long word) return word; } +#undef ADDR + #ifdef __KERNEL__ /** * ffs - find first set bit in word @@ -434,11 +436,6 @@ static inline int fls(int x) #endif return r + 1; } -#endif /* __KERNEL__ */ - -#undef ADDR - -#ifdef __KERNEL__ #include @@ -450,12 +447,8 @@ static inline int fls(int x) #include -#endif /* __KERNEL__ */ - #include -#ifdef __KERNEL__ - #include #include