linux-mips
[Top] [All Lists]

[PATCH v2 2/5] MIPS: Make set_handler() __cpuinit.

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH v2 2/5] MIPS: Make set_handler() __cpuinit.
From: David Daney <ddaney.cavm@gmail.com>
Date: Mon, 14 May 2012 17:04:47 -0700
Cc: David Daney <david.daney@cavium.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=F4mERDNt9Z70z4IifqRA3YK9p9G0lSV6S+LMbsgkXB8=; b=HeFhQyoh82xmCoMUAk+gt5AEjcxiKBukmMowDaZ4UCr5asnyB9dmoKZXhlVBO+Xc3N i9P6TBxNZNcf/62grl8bzc8qxA84t0One2GBkwD1+Q0VaI/DE5Had/hpU4aY58OJqbTg cnP6wEEsw0a71Ew4OajRigcHEh+ZWGB6PlkmGDxIIYwYqNkthfUitGh6Nt2Tz946Mbcs Hq4Tw9yr58fWvXa6nKbc1YUsMEF+oJkWV3L8BHi5Vb8cQte4z2s0EoKdRU608yTuxjfW WJJ43LQXUhBx1vYnwcAxD5gCFJ8W/iZa0SmGu7jH4ONoBaynsLVfO5URR1W8cd9mzK2P asjg==
In-reply-to: <1337040290-16015-1-git-send-email-ddaney.cavm@gmail.com>
References: <1337040290-16015-1-git-send-email-ddaney.cavm@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
From: David Daney <david.daney@cavium.com>

Follow-on patched require this.

Signed-off-by: David Daney <david.daney@cavium.com>
---
 arch/mips/kernel/traps.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index b931eba..2b5675b 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -1680,7 +1680,7 @@ void __cpuinit per_cpu_trap_init(void)
 }
 
 /* Install CPU exception handler */
-void __init set_handler(unsigned long offset, void *addr, unsigned long size)
+void __cpuinit set_handler(unsigned long offset, void *addr, unsigned long 
size)
 {
        memcpy((void *)(ebase + offset), addr, size);
        local_flush_icache_range(ebase + offset, ebase + offset + size);
-- 
1.7.2.3


<Prev in Thread] Current Thread [Next in Thread>