summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/celleb/iommu.c
diff options
context:
space:
mode:
authorIshizaki Kou <kou.ishizaki@toshiba.co.jp>2007-12-13 21:13:14 +1100
committerPaul Mackerras <paulus@samba.org>2007-12-20 16:15:30 +1100
commit7e1961ff4954d6ab627d9b606785afdcd0dda84b (patch)
tree74b6414cf51dd9d08b5279eb9242209ec6f7f751 /arch/powerpc/platforms/celleb/iommu.c
parent4751505cf7299318d19a42bdabe0eb5db6d732c4 (diff)
downloadblackbird-op-linux-7e1961ff4954d6ab627d9b606785afdcd0dda84b.tar.gz
blackbird-op-linux-7e1961ff4954d6ab627d9b606785afdcd0dda84b.zip
[POWERPC] celleb: Split machine definition
This splits the machine definition for celleb into two definitions, one for celleb_beat, and the other for celleb_native. Though this looks complex because of sorting some functions, there are no more semantic changes than that for the splitting. Signed-off-by: Kou Ishizaki <Kou.Ishizaki@toshiba.co.jp> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/celleb/iommu.c')
-rw-r--r--arch/powerpc/platforms/celleb/iommu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/celleb/iommu.c b/arch/powerpc/platforms/celleb/iommu.c
index 61df97f4e1a6..fbe718d517a6 100644
--- a/arch/powerpc/platforms/celleb/iommu.c
+++ b/arch/powerpc/platforms/celleb/iommu.c
@@ -24,7 +24,7 @@
#include <linux/pci.h>
#include <linux/of_platform.h>
-#include <asm/firmware.h>
+#include <asm/machdep.h>
#include "beat_wrapper.h"
@@ -92,7 +92,7 @@ static struct notifier_block celleb_of_bus_notifier = {
static int __init celleb_init_iommu(void)
{
- if (!firmware_has_feature(FW_FEATURE_BEAT))
+ if (!machine_is(celleb_beat))
return -ENODEV;
celleb_init_direct_mapping();
OpenPOWER on IntegriCloud