]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: shmobile: fix smp build
authorArnd Bergmann <arnd@arndb.de>
Tue, 15 May 2012 15:30:17 +0000 (15:30 +0000)
committerArnd Bergmann <arnd@arndb.de>
Wed, 16 May 2012 20:16:30 +0000 (22:16 +0200)
commit9601e87388f4969a80b021a40215d24c4e78d5b3
treeb01d79681370c362b733152ded02331588d89f9b
parent4fc5e65cdbf736a5311b07aa54a916ccaa91ab5f
ARM: shmobile: fix smp build

I got build errors with the new version now because machine_is_kzm9g is no longer
defined:

arch/arm/mach-shmobile/platsmp.c: In function 'shmobile_smp_get_core_count':
arch/arm/mach-shmobile/platsmp.c:29:2: error: implicit declaration of function 'of_machine_is_compatible'

Replace the missing function with a call to of_machine_is_compatible.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Acked-by: Magnus Damm <magnus.damm@gmail.com>
arch/arm/boot/dts/sh73a0-kzm9g.dts
arch/arm/mach-shmobile/platsmp.c