Re: [PATCH] 2.4.25: BUG(): Use guard page instead of page 0

Bjorn Helgaas
2004-03-04T23:57:43Z

On Thursday 04 March 2004 4:41 pm, Keith Owens wrote:
> Why not use 'break 0' for gcc < 3.1? No need to worry about which
> pages are protected.
>
> switch (break_num) {
> case 0: /* unknown error (used by GCC for __builtin_abort()) */
> die_if_kernel("bugcheck!", regs, break_num);

Sounds reasonable to me, but I'm too chicken. Propose a patch and
get David to take it, and I'll put it in 2.4.