[PATCH v2 3/4] ARM: make entry-macro.S depend on !MULTI_IRQ_HANDLER

Nicolas Pitre nico at fluxnic.net
Thu Feb 9 01:28:57 EST 2012


On Wed, 8 Feb 2012, Rob Herring wrote:

> From: Rob Herring <rob.herring at calxeda.com>
> 
> With the removal of disable_fiq on rpc and addition MULTI_IRQ_HANDLER,
> entry-macro.S is no longer needed for platforms that select
> MULTI_IRQ_HANDLER and the include of it can be conditional.
> 
> Signed-off-by: Rob Herring <rob.herring at calxeda.com>

Acked-by: Nicolas Pitre <nico at linaro.org>

> ---
>  arch/arm/kernel/entry-armv.S |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S
> index 3a456c6..5558f56 100644
> --- a/arch/arm/kernel/entry-armv.S
> +++ b/arch/arm/kernel/entry-armv.S
> @@ -19,7 +19,9 @@
>  #include <asm/glue-df.h>
>  #include <asm/glue-pf.h>
>  #include <asm/vfpmacros.h>
> +#ifndef CONFIG_MULTI_IRQ_HANDLER
>  #include <mach/entry-macro.S>
> +#endif
>  #include <asm/thread_notify.h>
>  #include <asm/unwind.h>
>  #include <asm/unistd.h>
> @@ -1101,7 +1103,6 @@ __stubs_start:
>   * get out of that mode without clobbering one register.
>   */
>  vector_fiq:
> -	disable_fiq
>  	subs	pc, lr, #4
>  
>  /*=============================================================================
> -- 
> 1.7.5.4
> 



More information about the linux-arm-kernel mailing list