Re: [PATCH 06/27] ARM: mmu32: rename mmu.h to mmu_32.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12.05.23 13:09, Sascha Hauer wrote:
> mmu.h is 32bit specific, so rename it to mmu32.h like the C files

Nitpick: mmu_32.h

> have been renamed already.
> 
> Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>

Reviewed-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>

> ---
>  arch/arm/cpu/cache_32.c          | 2 +-
>  arch/arm/cpu/mmu-early_32.c      | 2 +-
>  arch/arm/cpu/mmu_32.c            | 2 +-
>  arch/arm/cpu/{mmu.h => mmu_32.h} | 0
>  arch/arm/cpu/sm.c                | 3 +--
>  5 files changed, 4 insertions(+), 5 deletions(-)
>  rename arch/arm/cpu/{mmu.h => mmu_32.h} (100%)
> 
> diff --git a/arch/arm/cpu/cache_32.c b/arch/arm/cpu/cache_32.c
> index 4202406d0d..0ac50c4d9a 100644
> --- a/arch/arm/cpu/cache_32.c
> +++ b/arch/arm/cpu/cache_32.c
> @@ -6,7 +6,7 @@
>  #include <asm/cache.h>
>  #include <asm/system_info.h>
>  
> -#include "mmu.h"
> +#include "mmu_32.h"
>  
>  struct cache_fns {
>  	void (*dma_clean_range)(unsigned long start, unsigned long end);
> diff --git a/arch/arm/cpu/mmu-early_32.c b/arch/arm/cpu/mmu-early_32.c
> index 4895911cdb..07c5917e6a 100644
> --- a/arch/arm/cpu/mmu-early_32.c
> +++ b/arch/arm/cpu/mmu-early_32.c
> @@ -9,7 +9,7 @@
>  #include <asm/cache.h>
>  #include <asm-generic/sections.h>
>  
> -#include "mmu.h"
> +#include "mmu_32.h"
>  
>  static uint32_t *ttb;
>  
> diff --git a/arch/arm/cpu/mmu_32.c b/arch/arm/cpu/mmu_32.c
> index 78dd05577a..8ec21ee1d2 100644
> --- a/arch/arm/cpu/mmu_32.c
> +++ b/arch/arm/cpu/mmu_32.c
> @@ -18,7 +18,7 @@
>  #include <asm/system_info.h>
>  #include <asm/sections.h>
>  
> -#include "mmu.h"
> +#include "mmu_32.h"
>  
>  #define PTRS_PER_PTE		(PGDIR_SIZE / PAGE_SIZE)
>  #define ARCH_MAP_WRITECOMBINE	((unsigned)-1)
> diff --git a/arch/arm/cpu/mmu.h b/arch/arm/cpu/mmu_32.h
> similarity index 100%
> rename from arch/arm/cpu/mmu.h
> rename to arch/arm/cpu/mmu_32.h
> diff --git a/arch/arm/cpu/sm.c b/arch/arm/cpu/sm.c
> index f5a1edbd4f..53f5142b63 100644
> --- a/arch/arm/cpu/sm.c
> +++ b/arch/arm/cpu/sm.c
> @@ -19,8 +19,7 @@
>  #include <linux/arm-smccc.h>
>  #include <asm-generic/sections.h>
>  #include <asm/secure.h>
> -
> -#include "mmu.h"
> +#include "mmu_32.h"
>  
>  static unsigned int read_id_pfr1(void)
>  {

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux