2021-03-04 14:36:11

by Menglong Dong

[permalink] [raw]
Subject: [PATCH] arch/powerpc/include/asm/book3s/64/: remove duplicate include in mmu-hash.h

From: Zhang Yunkai <[email protected]>

'asm/bug.h' included in 'arch/powerpc/include/asm/book3s/64/mmu-hash.h'
is duplicated.It is also included in the 12th line.

Signed-off-by: Zhang Yunkai <[email protected]>
---
arch/powerpc/include/asm/book3s/64/mmu-hash.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/powerpc/include/asm/book3s/64/mmu-hash.h b/arch/powerpc/include/asm/book3s/64/mmu-hash.h
index f911bdb68d8b..3004f3323144 100644
--- a/arch/powerpc/include/asm/book3s/64/mmu-hash.h
+++ b/arch/powerpc/include/asm/book3s/64/mmu-hash.h
@@ -18,7 +18,6 @@
* complete pgtable.h but only a portion of it.
*/
#include <asm/book3s/64/pgtable.h>
-#include <asm/bug.h>
#include <asm/task_size_64.h>
#include <asm/cpu_has_feature.h>

--
2.25.1


2021-03-05 17:23:46

by Cédric Le Goater

[permalink] [raw]
Subject: Re: [PATCH] arch/powerpc/include/asm/book3s/64/: remove duplicate include in mmu-hash.h

On 3/4/21 3:42 AM, [email protected] wrote:
> From: Zhang Yunkai <[email protected]>
>
> 'asm/bug.h' included in 'arch/powerpc/include/asm/book3s/64/mmu-hash.h'
> is duplicated.It is also included in the 12th line.
>
> Signed-off-by: Zhang Yunkai <[email protected]>

Reviewed-by: Cédric Le Goater <[email protected]>

> ---
> arch/powerpc/include/asm/book3s/64/mmu-hash.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/powerpc/include/asm/book3s/64/mmu-hash.h b/arch/powerpc/include/asm/book3s/64/mmu-hash.h
> index f911bdb68d8b..3004f3323144 100644
> --- a/arch/powerpc/include/asm/book3s/64/mmu-hash.h
> +++ b/arch/powerpc/include/asm/book3s/64/mmu-hash.h
> @@ -18,7 +18,6 @@
> * complete pgtable.h but only a portion of it.
> */
> #include <asm/book3s/64/pgtable.h>
> -#include <asm/bug.h>
> #include <asm/task_size_64.h>
> #include <asm/cpu_has_feature.h>
>
>