Subject: Re: [v6,12/20] cxl: Add guest-specific code

From: Frederic Barrat <[email-masked]>
Date: Wed, 9 Mar 2016 10:14:37 +0100

Hi Michael,

Le 09/03/2016 06:55, Michael Ellerman a écrit :
> This breaks the SMP=n build:

Arg! I'm adding it to my checklist.

Thanks for the fix.

   Fred

> I've fixed it up with:
>
> diff --git a/drivers/misc/cxl/hcalls.c b/drivers/misc/cxl/hcalls.c
> index f01d4c012620..d6d11f4056d7 100644
> --- a/drivers/misc/cxl/hcalls.c
> +++ b/drivers/misc/cxl/hcalls.c
> @@ -11,7 +11,6 @@
>   #include <linux/compiler.h>
>   #include <linux/types.h>
>   #include <linux/delay.h>
> -#include <asm/hvcall.h>
>   #include <asm/byteorder.h>
>   #include "hcalls.h"
>   #include "trace.h"
> diff --git a/drivers/misc/cxl/hcalls.h b/drivers/misc/cxl/hcalls.h
> index 6bfab323578d..3e25522a5df6 100644
> --- a/drivers/misc/cxl/hcalls.h
> +++ b/drivers/misc/cxl/hcalls.h
> @@ -12,6 +12,7 @@
>
>   #include <linux/types.h>
>   #include <asm/byteorder.h>
> +#include <asm/hvcall.h>
>   #include "cxl.h"
>
>   #define SG_BUFFER_SIZE 4096
>
>
> cheers
>