linux-mips
[Top] [All Lists]

[PATCH 13/15] MIPS: remove __init from add_wired_entry()

To: Linux-MIPS <linux-mips@linux-mips.org>, Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 13/15] MIPS: remove __init from add_wired_entry()
From: Manuel Lauss <manuel.lauss@googlemail.com>
Date: Tue, 2 Aug 2011 19:51:08 +0200
Cc: Manuel Lauss <manuel.lauss@googlemail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=DWKOjKoXcf9KMJQZKrK3XLoUrhELA0ijU6/uzQk01zo=; b=TeriulgoFq4wHmp0tzqDbjYES4y0PZURGmVLen7eYtKBCCrQuNZCheWMC1wx6sZNBy ZPeBWMFzNIy5CxlDrySXkbIESAOwnTBlPNVY2+I8i3EL8XSjeRujwfW5np7FOWsRvZQm 5LlLy+WiL5Z6at88rm+7AqqiIdi3deGc2AVpM=
In-reply-to: <1312307470-6841-1-git-send-email-manuel.lauss@googlemail.com>
References: <1312307470-6841-1-git-send-email-manuel.lauss@googlemail.com>
Sender: linux-mips-bounce@linux-mips.org
For Alchemy-PCI I need to add a wired entry after resuming from RAM;
remove the __init from add_wired_entry() so that this actually works.

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
---
 arch/mips/mm/tlb-r3k.c |    4 ++--
 arch/mips/mm/tlb-r4k.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/mips/mm/tlb-r3k.c b/arch/mips/mm/tlb-r3k.c
index 40424af..87bb85d 100644
--- a/arch/mips/mm/tlb-r3k.c
+++ b/arch/mips/mm/tlb-r3k.c
@@ -223,8 +223,8 @@ void __update_tlb(struct vm_area_struct *vma, unsigned long 
address, pte_t pte)
        local_irq_restore(flags);
 }
 
-void __init add_wired_entry(unsigned long entrylo0, unsigned long entrylo1,
-                           unsigned long entryhi, unsigned long pagemask)
+void add_wired_entry(unsigned long entrylo0, unsigned long entrylo1,
+                    unsigned long entryhi, unsigned long pagemask)
 {
        unsigned long flags;
        unsigned long old_ctx;
diff --git a/arch/mips/mm/tlb-r4k.c b/arch/mips/mm/tlb-r4k.c
index ba40325..0d394e0 100644
--- a/arch/mips/mm/tlb-r4k.c
+++ b/arch/mips/mm/tlb-r4k.c
@@ -337,8 +337,8 @@ void __update_tlb(struct vm_area_struct * vma, unsigned 
long address, pte_t pte)
        EXIT_CRITICAL(flags);
 }
 
-void __init add_wired_entry(unsigned long entrylo0, unsigned long entrylo1,
-       unsigned long entryhi, unsigned long pagemask)
+void add_wired_entry(unsigned long entrylo0, unsigned long entrylo1,
+                    unsigned long entryhi, unsigned long pagemask)
 {
        unsigned long flags;
        unsigned long wired;
-- 
1.7.6


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