| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH 2/3] MIPS: annotate set_except_vector with __init |
| From: | Florian Fainelli <florian@openwrt.org> |
| Date: | Thu, 28 Jan 2010 15:21:42 +0100 |
| Cc: | Ralf Baechle <ralf@linux-mips.org>, David Daney <ddaney@caviumnetworks.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:date:subject :mime-version:x-uid:x-length:organization:to:cc:content-type :content-transfer-encoding:message-id; bh=E6j0qKqRNpC42ixlUSR8qtSUOkPr1SX3kqupRaUn0H0=; b=CNZl69i6WGSTP7RGOBc4aRSXqHE8Dz3sMGYDbcgLc0WbyOORn7Md6VUNVa1ivt8GRA jSSqUlnz7ddSnwEYjf+bj55rIZE5uKlyYlzhy8UWSSt9cGLnbqLOiOeGBc9/fty5d+bi i+1me/28QxJf6wZanE2jD53BMqOGANvw5AeWE= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:date:subject:mime-version:x-uid:x-length:organization :to:cc:content-type:content-transfer-encoding:message-id; b=PLsbg2e0XnFDpaFqOSs1UTz1CaNHYUqUXLmEumr9UuortELwL4mNzOqm/82nQWubdu ClIlb2IkAVKfNn7kP+V/1KOlhBtPiSqwXfvyQ+LiJ8kI57vbvn7ags8T0jEUzq21NC0g JuRAdsg5jq/93DBJeu01srdBSvoqoMi+6RkQM= |
| Organization: | OpenWrt |
| Sender: | linux-mips-bounce@linux-mips.org |
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];
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/3] MIPS: move arch/mips/mm/uasm.h to arch/mips/include/asm/uasm.h, Florian Fainelli |
|---|---|
| Next by Date: | [PATCH 3/3] MIPS: deal with larger physical offsets, Florian Fainelli |
| Previous by Thread: | [PATCH 1/3] MIPS: move arch/mips/mm/uasm.h to arch/mips/include/asm/uasm.h, Florian Fainelli |
| Next by Thread: | Re: [PATCH 2/3] MIPS: annotate set_except_vector with __init, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |