| To: | Jun Sun <jsun@mvista.com> |
|---|---|
| Subject: | Re: [PATCH] make ps2 mouse work ... |
| From: | Andrew Morton <akpm@osdl.org> |
| Date: | Tue, 15 Jun 2004 20:56:11 -0700 |
| Cc: | linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, jsun@mvista.com |
| In-reply-to: | <20040615191023.G28403@mvista.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20040615191023.G28403@mvista.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
Jun Sun <jsun@mvista.com> wrote: > > > I found this problem on a MIPS machine. The problem is > likely to happen on other register-rich RISC arches too. > > cmdcnt needs to be volatile since it is modified by > irq routine and read by normal process context. volatile is not the preferred way to fix this up. This points at either a locking error in the psmouse driver or a missing "memory" thingy in the mips port somewhere. Please describe the bug which led to this patch. Where was it getting stuck? |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] make ps2 mouse work ..., Jun Sun |
|---|---|
| Next by Date: | Cross compiler tool chain, Bhavyashree |
| Previous by Thread: | [PATCH] make ps2 mouse work ..., Jun Sun |
| Next by Thread: | Re: [PATCH] make ps2 mouse work ..., Vojtech Pavlik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |