| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] _syscall macros |
| From: | Jun Sun <jsun@mvista.com> |
| Date: | Wed, 9 Jul 2003 15:56:54 -0700 |
| Cc: | jsun@mvista.com |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.2.5i |
In testing some new syscalls, I found that the current _syscall macros do not return the right errno. A little further probing shows that errno now is a function call, and on returning from the call original __v0 from syscall is corrupted. Here is a patch to fix this. Looks good? Jun
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Nile 4, Ralf Baechle |
|---|---|
| Next by Date: | Re: Nile 4, Geert Uytterhoeven |
| Previous by Thread: | gdb/insight 5.3 buggy in kernel module debug, renwei |
| Next by Thread: | [PATCH 2.5] LASAT updates - now it boots- whoohoo, Brian Murphy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |