Skip to contentSkip to conversation

MIPS: annotate set_except_vector with __init

PATCH In review Florian Fainelli 2 participants 2 messages Jan 28, 2010 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 MIPS: annotate set_except_vector with __init

All call sites of set_except_vector are already annotated with __init, so annotate that one too.

---

arch/mips/kernel/traps.c +1 -1
index 308e434..574608e 100644
@@ -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];
#1 lore raw

On Thu, Jan 28, 2010 at 03:21:42PM +0100, Florian Fainelli wrote:

Thanks, queued for 2.6.34.

Ral