Re: [2.6 patch] remove __attribute_used__

Previous thread: [PATCH] Fix a spurious kfree_skb() call by Michal Januszewski on Tuesday, October 30, 2007 - 7:10 pm. (2 messages)

Next thread: [2.6 patch] proper show_interrupts() prototype by Adrian Bunk on Tuesday, October 30, 2007 - 7:50 pm. (1 message)
To: David Rientjes <rientjes@...>
Cc: <linux-kernel@...>
Date: Tuesday, October 30, 2007 - 7:50 pm

This patch removes the deprecated __attribute_used__.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

arch/alpha/lib/dec_and_lock.c | 3 +--
arch/powerpc/boot/Makefile | 2 +-
arch/powerpc/kernel/sysfs.c | 2 +-
arch/powerpc/oprofile/op_model_power4.c | 6 +++---
arch/sparc64/kernel/unaligned.c | 2 +-
arch/um/include/init.h | 18 +++++++++---------
drivers/rapidio/rio.h | 2 +-
fs/compat_ioctl.c | 2 +-
include/asm-avr32/setup.h | 2 +-
include/asm-ia64/gcc_intrin.h | 2 +-
include/asm-sh/machvec.h | 2 +-
include/asm-sh/thread_info.h | 2 +-
include/asm-x86/thread_info_32.h | 2 +-
include/linux/compiler-gcc3.h | 2 --
include/linux/compiler-gcc4.h | 1 -
include/linux/compiler.h | 4 ----
include/linux/elfnote.h | 2 +-
include/linux/init.h | 12 ++++++------
include/linux/module.h | 4 ++--
include/linux/moduleparam.h | 4 ++--
include/linux/pci.h | 2 +-
scripts/mod/modpost.c | 4 ++--
22 files changed, 37 insertions(+), 45 deletions(-)

56299ac728f8c241e292c09947ff582b1af58013
diff --git a/arch/alpha/lib/dec_and_lock.c b/arch/alpha/lib/dec_and_lock.c
index 6ae2500..0f5520d 100644
--- a/arch/alpha/lib/dec_and_lock.c
+++ b/arch/alpha/lib/dec_and_lock.c
@@ -30,8 +30,7 @@ _atomic_dec_and_lock: \n\
.previous \n\
.end _atomic_dec_and_lock");

-static int __attribute_used__
-atomic_dec_and_lock_1(atomic_t *atomic, spinlock_t *lock)
+static int __used atomic_dec_and_lock_1(atomic_t *atomic, spinlock_t *lock)
{
/* Slow path */
spin_lock(lock);
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 18e3271..4b1d98b 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerp...

To: Adrian Bunk <bunk@...>
Cc: <linux-kernel@...>
Date: Tuesday, October 30, 2007 - 7:54 pm

Acked-by: David Rientjes <rientjes@google.com>
-

Previous thread: [PATCH] Fix a spurious kfree_skb() call by Michal Januszewski on Tuesday, October 30, 2007 - 7:10 pm. (2 messages)

Next thread: [2.6 patch] proper show_interrupts() prototype by Adrian Bunk on Tuesday, October 30, 2007 - 7:50 pm. (1 message)