Re: [RFC PATCH 16/35] subarch support for interrupt and exception gates

From: Andi Kleen
Date: Wed Mar 22 2006 - 10:00:54 EST


On Wednesday 22 March 2006 07:30, Chris Wright wrote:
> Abstract the code that sets up interrupt and exception gates, and
> add a separate subarch implementation for Xen.

AFAIK the only difference is that Xen uses a table of them to pass
the hypervisor and normal Linux calls the macros directly, right?

I would suggest you just use the table for normal Linux too
and make the function that processes them natively !CONFIG_XEN
I guess it will make the code smaller for the normal case and people happy.

That would be much cleaner than just separating it out.

-Andi

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