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

Cédric Le Goater clg at kaod.org
Sat Mar 6 04:22:12 AEDT 2021


On 3/4/21 3:42 AM, menglong8.dong at gmail.com wrote:
> From: Zhang Yunkai <zhang.yunkai at zte.com.cn>
> 
> '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 at zte.com.cn>

Reviewed-by: Cédric Le Goater <clg at kaod.org>

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



More information about the Linuxppc-dev mailing list