| To: | vagabon.xyz@gmail.com |
|---|---|
| Subject: | Re: [PATCH] clean up ret_from_{irq,exception} |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Mon, 12 Feb 2007 23:45:38 +0900 (JST) |
| Cc: | ralf@linux-mips.org, linux-mips@linux-mips.org |
| In-reply-to: | <cda58cb80702120044o6c434032pc2f3da68a7327097@mail.gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <45C8A477.8070906@innova-card.com> <20070211.004020.79071872.anemo@mba.ocn.ne.jp> <cda58cb80702120044o6c434032pc2f3da68a7327097@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Mon, 12 Feb 2007 09:44:33 +0100, "Franck Bui-Huu" <vagabon.xyz@gmail.com> wrote: > well maybe this one would be more readable: > > -- >8 -- > > diff --git a/arch/mips/kernel/entry.S b/arch/mips/kernel/entry.S > index f10b6a1..b5d27d5 100644 > --- a/arch/mips/kernel/entry.S > +++ b/arch/mips/kernel/entry.S > @@ -21,23 +21,20 @@ > #endif > > #ifndef CONFIG_PREEMPT > - .macro preempt_stop > - local_irq_disable > - .endm > #define resume_kernel restore_all > +#else > +#define _ret_from_irq ret_from_exception > #endif _ret_from_irq is used by dec/int-handler.S directly, so you should not remove it (though decstation_defconfig disables CONFIG_PREEMPT). But looking at dec/int-handler.S again, I can not see why it uses _ret_from_irq, and why it manipulates TI_REGS($28) in handle_it ... It seems dec/int-handler.S has been broken for a while. I'll send a patch to fix it. If it was ACKed, I ACK your patch. --- Atsushi Nemoto |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 3/3] signal.c: fix gcc warning on 32 bits kernel, Franck Bui-Huu |
|---|---|
| Next by Date: | [PATCH] fix irq handling of DECstations, Atsushi Nemoto |
| Previous by Thread: | Re: [PATCH] clean up ret_from_{irq,exception}, Franck Bui-Huu |
| Next by Thread: | Re: [PATCH] clean up ret_from_{irq,exception}, Franck Bui-Huu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |