[lkml]   [2002]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: linux/bug.h and asm/bug.h
On Mon, Nov 04, 2002 at 01:22:45PM +1100, Rusty Russell wrote:

> As the number of bug-related macros grows, this makes sense.
> 1) Introduce linux/bug.h and #include it from linux/kernel.h so noone
> breaks.
> 2) Move BUG() macro from asm*/page.h to asm*/bug.h, and #include it.

Great, people were talking about the mess caused by this just last night.
Just one request, move the BUG_ON definition into <asm/bug.h> also. This
permits the use of conditional trap instructions for those architecture
that have them.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:30    [W:0.053 / U:3.348 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site