| To: | fbuihuu@gmail.com |
|---|---|
| Subject: | Re: [PATCH] Kill __bzero() |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Mon, 05 Nov 2007 00:42:08 +0900 (JST) |
| Cc: | ralf@linux-mips.org, linux-mips@linux-mips.org |
| In-reply-to: | <472D8058.5080209@gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <472D8058.5080209@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Sun, 04 Nov 2007 09:18:32 +0100, Franck Bui-Huu <fbuihuu@gmail.com> wrote: > 2/ For the caller, it makes no difference to call memset instead > since it has to setup the second parameter of __bzero to 0. __bzero() does not clobber v0 but memset() does. I don't know if gcc does some magical thing to protect v0, but it would be safer to add v0 explicitly to clobber-list of __clear_user(). --- Atsushi Nemoto |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] iounmap if in vr41xx_pciu_init() pci clock is over 33MHz, Roel Kluin |
|---|---|
| Next by Date: | Re: [PATCH] mm/pg-r4k.c: Dump the generated code, Thiemo Seufer |
| Previous by Thread: | [PATCH] Kill __bzero(), Franck Bui-Huu |
| Next by Thread: | Re: [PATCH] Kill __bzero(), Franck Bui-Huu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |