Re: [patch 05/26] Xen-paravirt_ops: paravirt_ops: hooks to set up initial pagetable

Ingo Molnar
2007-02-27T10:16:31Z

* Jeremy Fitzhardinge <jeremy@goop.org> wrote:

> ===================================================================
> --- a/include/asm-i386/pgtable.h
> +++ b/include/asm-i386/pgtable.h
> @@ -15,7 +15,10 @@
> #include <asm/processor.h>
> #include <asm/fixmap.h>
> #include <linux/threads.h>
> +
> +#ifdef CONFIG_PARAVIRT /* guarded to prevent cyclic dependency */
> #include <asm/paravirt.h>
> +#endif

avoid the cyclic dependency to begin with?

Ingo