Re: __switch_to macro

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Fri Apr 06 2001 - 06:39:02 EST


alad@hss.hns.com wrote:
> There's one thing that confuses me: don't you get a segment_not_present
> fault? If so, traps.c's do_segment_not_present doesn't appear to search
> the exception table, and the code in loadsegment would not work.
>
> >>> well.. I peeked into traps.c.. I do seem a call to die_if_no_fixup
> in this function. And I think loadsegment is already making an entry in
> exception table.

Ah, you're right. I didn't follow DO_ERROR all the way to do_trap and
hency search_exception_table.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 07 2001 - 21:00:18 EST