From 5cead939e94d02f27837a074a9f2f0d48babc5d0 Mon Sep 17 00:00:00 2001 From: Rui Paulo Date: Sun, 14 Dec 2014 22:41:08 +0000 Subject: [PATCH] Move ofw_cpu.c to sys/dev/ofw so that it can be used by other architectures. Differential Revision: https://reviews.freebsd.org/D1307 Reviewed by: jhibbits --- sys/conf/files.powerpc | 2 +- sys/{powerpc => dev}/ofw/ofw_cpu.c | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename sys/{powerpc => dev}/ofw/ofw_cpu.c (100%) diff --git a/sys/conf/files.powerpc b/sys/conf/files.powerpc index 62f645e0bc63..5bac8476524c 100644 --- a/sys/conf/files.powerpc +++ b/sys/conf/files.powerpc @@ -44,6 +44,7 @@ dev/nand/nfc_fsl.c optional nand mpc85xx dev/ofw/openfirm.c optional aim dev/ofw/openfirmio.c optional aim dev/ofw/ofw_bus_if.m optional aim +dev/ofw/ofw_cpu.c optional aim dev/ofw/ofw_if.m optional aim dev/ofw/ofw_bus_subr.c optional aim dev/ofw/ofw_console.c optional aim @@ -135,7 +136,6 @@ powerpc/mpc85xx/lbc.c optional mpc85xx powerpc/mpc85xx/mpc85xx.c optional mpc85xx powerpc/mpc85xx/platform_mpc85xx.c optional mpc85xx powerpc/mpc85xx/pci_mpc85xx.c optional pci mpc85xx -powerpc/ofw/ofw_cpu.c optional aim powerpc/ofw/ofw_machdep.c standard powerpc/ofw/ofw_pci.c optional pci powerpc/ofw/ofw_pcibus.c optional pci diff --git a/sys/powerpc/ofw/ofw_cpu.c b/sys/dev/ofw/ofw_cpu.c similarity index 100% rename from sys/powerpc/ofw/ofw_cpu.c rename to sys/dev/ofw/ofw_cpu.c