ARM: 6988/1: multi-cpu: remove arguments from CPU proc macros
commiteca5dc2a0028d64229aef1b7839bcbae1d864c5f
authorWill Deacon <will.deacon@arm.com>
Fri, 1 Jul 2011 13:37:08 +0000 (1 14:37 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 6 Jul 2011 19:49:45 +0000 (6 20:49 +0100)
treec3f83657fb24870487a820e2900f5d65a13fa40c
parentf022e4e41bb339a8bded1063e718d463904ec716
ARM: 6988/1: multi-cpu: remove arguments from CPU proc macros

The macros for invoking functions via the processor struct in the
MULTI_CPU case define the arguments as part of the macros, making it
impossible to take the address of those functions.

This patch removes the arguments from the macro definitions so that we
can take the address of these functions like we can for the !MULTI_CPU
case.

Reported-by: Frank Hofmann <frank.hofmann@tomtom.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/proc-fns.h