[PATCH 4/6] ARM: reset: add reset functionality for jumping to a physical address

Will Deacon will.deacon at arm.com
Thu Jun 9 06:06:38 EDT 2011

Hi Frank,

On Thu, Jun 09, 2011 at 11:00:56AM +0100, Frank Hofmann wrote:
> Ah, I was concerned that it'd change
>  	graphics_cpu_reset ===> graphics_processor.reset
> but you're correct that kind of substitution is not happening.
> Anyway as Will mentioned, the !MULTI_CPU case has the #define the 
> following way in any case:
> #define	____glue(name,fn)	name##fn
> #define	__glue(name,fn)		____glue(name,fn)
> #define	cpu_reset		__glue(CPU_NAME,_reset)
> I.e. in the !MULTI_CPU case cpu_reset is defined without the macro 
> argument, while the MULTI_CPU define _has_ the macro argument.
> Would it be ok to remove the (args) part from the MULTI_CPU #define then ?

I was planning to do that in v2 of the patches.



More information about the linux-arm-kernel mailing list