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

From: Cédric Le Goater
Date: Fri Mar 05 2021 - 12:22:54 EST


On 3/4/21 3:42 AM, menglong8.dong@xxxxxxxxx wrote:
> From: Zhang Yunkai <zhang.yunkai@xxxxxxxxxx>
>
> '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 <zhang.yunkai@xxxxxxxxxx>

Reviewed-by: Cédric Le Goater <clg@xxxxxxxx>

> ---
> 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>
>
>