diff mbox series

[Xen-devel] xen/arm: cpuerrata: Remove percpu.h include

Message ID 20180122143542.1207-1-julien.grall@linaro.org
State New
Headers show
Series [Xen-devel] xen/arm: cpuerrata: Remove percpu.h include | expand

Commit Message

Julien Grall Jan. 22, 2018, 2:35 p.m. UTC
The include percpu.h was added by mistake in cpuerrata.h (see commit
4c4fddc166 "xen/arm64: Add skeleton to harden the branch aliasing
attacks"). So remove it.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
---
 xen/include/asm-arm/cpuerrata.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Stefano Stabellini Jan. 22, 2018, 6:16 p.m. UTC | #1
On Mon, 22 Jan 2018, Julien Grall wrote:
> The include percpu.h was added by mistake in cpuerrata.h (see commit
> 4c4fddc166 "xen/arm64: Add skeleton to harden the branch aliasing
> attacks"). So remove it.
> 
> Signed-off-by: Julien Grall <julien.grall@linaro.org>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>

> ---
>  xen/include/asm-arm/cpuerrata.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/xen/include/asm-arm/cpuerrata.h b/xen/include/asm-arm/cpuerrata.h
> index 23ebf367ea..7de68361ff 100644
> --- a/xen/include/asm-arm/cpuerrata.h
> +++ b/xen/include/asm-arm/cpuerrata.h
> @@ -1,7 +1,6 @@
>  #ifndef __ARM_CPUERRATA_H__
>  #define __ARM_CPUERRATA_H__
>  
> -#include <xen/percpu.h>
>  #include <asm/cpufeature.h>
>  #include <asm/alternative.h>
>  
> -- 
> 2.11.0
>
diff mbox series

Patch

diff --git a/xen/include/asm-arm/cpuerrata.h b/xen/include/asm-arm/cpuerrata.h
index 23ebf367ea..7de68361ff 100644
--- a/xen/include/asm-arm/cpuerrata.h
+++ b/xen/include/asm-arm/cpuerrata.h
@@ -1,7 +1,6 @@ 
 #ifndef __ARM_CPUERRATA_H__
 #define __ARM_CPUERRATA_H__
 
-#include <xen/percpu.h>
 #include <asm/cpufeature.h>
 #include <asm/alternative.h>