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

From: Chris Wright
Date: Mon May 15 2006 - 14:26:53 EST


* Andrew Morton (akpm@xxxxxxxx) wrote:
> On Tue, 09 May 2006 00:00:16 -0700
> Chris Wright <chrisw@xxxxxxxxxxxx> wrote:
>
> > --- linus-2.6.orig/include/asm-i386/mach-xen/setup_arch_pre.h
> > +++ linus-2.6/include/asm-i386/mach-xen/setup_arch_pre.h
> > @@ -5,6 +5,8 @@
> > struct start_info *xen_start_info;
> > EXPORT_SYMBOL(xen_start_info);
> >
> > +struct trap_info xen_trap_table[257];
> > +
> > /*
> > * Point at the empty zero page to start with. We map the real shared_info
> > * page as soon as fixmap is up and running.
>
> Is there any particular reason why things-which-should-be-in-a-C-file are
> present in a .h file?

It's following direction of current subarch interaction with setup.c
(namely the setup_arch_post.h). It's definitely not so nice.
-
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/