[Top] [All Lists]

Re: [PATCH] Fix BUG(), BUG_ON() handling

To: Atsushi Nemoto <>
Subject: Re: [PATCH] Fix BUG(), BUG_ON() handling
From: Ralf Baechle <>
Date: Wed, 18 Apr 2007 15:25:53 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/
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.


<Prev in Thread] Current Thread [Next in Thread>