ARM: simplify early machine init hooks
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 20 Dec 2010 10:18:36 +0000 (10:18 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 24 Dec 2010 09:49:51 +0000 (09:49 +0000)
commit8ff1443c5439ecee7472b80cf12ecfc337e6ee98
treeb6899444bc0b66a016d29271c5d70e8ad43db5ca
parentcd544ce754ac2432ffcc0626ea802d2b30876b50
ARM: simplify early machine init hooks

Rather than storing each machine init hook separately, store a
pointer to the machine description record and dereference this
instead.  This pointer is only available while the init sections
are present, which is not a problem as we only use it from init
code.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/mach/arch.h
arch/arm/include/asm/mach/irq.h
arch/arm/include/asm/mach/time.h
arch/arm/kernel/irq.c
arch/arm/kernel/setup.c
arch/arm/kernel/time.c