* [PATCH 2/3] MIPS: annotate set_except_vector with __init
@ 2010-01-28 14:21 Florian Fainelli
2010-01-28 16:31 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2010-01-28 14:21 UTC (permalink / raw)
To: linux-mips; +Cc: Ralf Baechle, David Daney
All call sites of set_except_vector are already annotated
with __init, so annotate that one too.
Signed-off-by: Regards, Florian Fainelli <florian@openwrt.org>
---
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 308e434..574608e 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -1276,7 +1276,7 @@ unsigned long vi_handlers[64];
* to interrupt handlers in the address range from
* KSEG0 <= x < KSEG0 + 256mb on the Nevada. Oh well ...
*/
-void *set_except_vector(int n, void *addr)
+void __init *set_except_vector(int n, void *addr)
{
unsigned long handler = (unsigned long) addr;
unsigned long old_handler = exception_handlers[n];
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/3] MIPS: annotate set_except_vector with __init
2010-01-28 14:21 [PATCH 2/3] MIPS: annotate set_except_vector with __init Florian Fainelli
@ 2010-01-28 16:31 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2010-01-28 16:31 UTC (permalink / raw)
To: Florian Fainelli; +Cc: linux-mips, David Daney
On Thu, Jan 28, 2010 at 03:21:42PM +0100, Florian Fainelli wrote:
Thanks, queued for 2.6.34.
Ral
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-28 16:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-28 14:21 [PATCH 2/3] MIPS: annotate set_except_vector with __init Florian Fainelli
2010-01-28 16:31 ` Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).