Re: [PATCH 4/7] paravirtualization: Allow selected bug checks to be skipped by paravirt kernels

Andrew Morton
2006-11-01T23:30:31Z

On Wed, 01 Nov 2006 21:30:43 +1100
Rusty Russell <rusty@rustcorp.com.au> wrote:

> --- a/include/asm-i386/bugs.h
> +++ b/include/asm-i386/bugs.h
> @@ -21,6 +21,7 @@
> #include <asm/processor.h>
> #include <asm/i387.h>
> #include <asm/msr.h>
> +#include <asm/paravirt.h>

In many other places you have

#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>
...

But not here.

Making <asm/paravirt.h> invulnerable would be the more typical approach.