Re: [PATCH v2 02/34] ARM: remove unused define

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

 



On 17.05.23 11:03, Sascha Hauer wrote:
> __ARM_SETUP_STACK isn't used anywhere. Remove it.
> 
> Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>

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

> ---
>  arch/arm/include/asm/barebox-arm.h | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h
> index 2e0d8dc9a7..3a0c3d7d40 100644
> --- a/arch/arm/include/asm/barebox-arm.h
> +++ b/arch/arm/include/asm/barebox-arm.h
> @@ -130,10 +130,6 @@ static inline unsigned long arm_mem_barebox_image(unsigned long membase,
>  	}
>  }
>  
> -#ifndef CONFIG_CPU_64
> -#define __ARM_SETUP_STACK(name, stack_top) if (stack_top) arm_setup_stack(stack_top)
> -#endif
> -
>  /*
>   * Unlike ENTRY_FUNCTION, this can be used to setup stack for a C entry
>   * point on both ARM32 and ARM64. ENTRY_FUNCTION on ARM64 can only be used

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