diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-01-24 16:16:20 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 17:21:18 -0500 |
commit | 3ff6eecca4e5c49a5d1dd8b58ea0e20102ce08f0 (patch) | |
tree | 9af53a5ce0054520be6d572f988a76f3ab4ef0c0 /arch/sparc64 | |
parent | bc395add945659e04cc7cf250755ba0edc1a9fdc (diff) |
remove __attribute_used__
Remove the deprecated __attribute_used__.
[Introduce __section in a few places to silence checkpatch /sam]
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/sparc64')
-rw-r--r-- | arch/sparc64/kernel/unaligned.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/unaligned.c b/arch/sparc64/kernel/unaligned.c index 953be816fa25..dc7bf1b6321c 100644 --- a/arch/sparc64/kernel/unaligned.c +++ b/arch/sparc64/kernel/unaligned.c | |||
@@ -175,7 +175,7 @@ unsigned long compute_effective_address(struct pt_regs *regs, | |||
175 | } | 175 | } |
176 | 176 | ||
177 | /* This is just to make gcc think die_if_kernel does return... */ | 177 | /* This is just to make gcc think die_if_kernel does return... */ |
178 | static void __attribute_used__ unaligned_panic(char *str, struct pt_regs *regs) | 178 | static void __used unaligned_panic(char *str, struct pt_regs *regs) |
179 | { | 179 | { |
180 | die_if_kernel(str, regs); | 180 | die_if_kernel(str, regs); |
181 | } | 181 | } |