[U-Boot] [PATCH 2/2] ARM: remove redundant asmlinkage define

Simon Glass sjg at chromium.org
Mon Dec 15 19:27:04 CET 2014


On 3 December 2014 at 01:36, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> Use asmlinkage defined in include/linux/linkage.h if necessary.
> Actually no ARM board uses asmlinkage, so this commit has no impact.
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Cc: Albert ARIBAUD <albert.u.boot at aribaud.net>
> ---
>
>  include/common.h | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/include/common.h b/include/common.h
> index f1ab2cf..ecbbcee 100644
> --- a/include/common.h
> +++ b/include/common.h
> @@ -70,9 +70,6 @@ typedef volatile unsigned char        vu_char;
>  #ifdef CONFIG_4xx
>  #include <asm/ppc4xx.h>
>  #endif
> -#ifdef CONFIG_ARM
> -#define asmlinkage     /* nothing */
> -#endif
>  #ifdef CONFIG_BLACKFIN
>  #include <asm/blackfin.h>
>  #endif

This goes with the x86 clean-up and is trivial, so I will take this
through x86 as suggested on patch 1/2.

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list