| To: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
|---|---|
| Subject: | Re: [PATCH] Fix BUG(), BUG_ON() handling |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Wed, 18 Apr 2007 15:25:53 +0100 |
| Cc: | linux-mips@linux-mips.org |
| In-reply-to: | <20070412.200254.128619887.nemoto@toshiba-tops.co.jp> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20070412.200254.128619887.nemoto@toshiba-tops.co.jp> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.4.2.2i |
On Thu, Apr 12, 2007 at 08:02:54PM +0900, Atsushi Nemoto wrote: > With commit 63dc68a8cf60cb110b147dab1704d990808b39e2, kernel can not > handle BUG() and BUG_ON() properly since get_user() returns false for > kernel code. Use __get_user() to skip unnecessary access_ok(). This > patch also make BRK_BUG code encoded in the TNE instruction. Thanks, applied to 2.6.20-stable and master. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 16/16] alsa sound support for mips, Fuxin Zhang |
|---|---|
| Next by Date: | [PATCH] Fix wrong checksum for split TCP packets on 64-bit MIPS, Dave Johnson |
| Previous by Thread: | [PATCH] Fix BUG(), BUG_ON() handling, Atsushi Nemoto |
| Next by Thread: | Re: [PATCH] Allow CpU exception in kernel partially, Atsushi Nemoto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |