summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/setup.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2014-04-25 15:31:45 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2014-05-03 22:20:34 +0100
commit6ecba8eb51b7d23fda66388a5420be7d8688b186 (patch)
tree930af6e7dfff301c121e59f91171ab884c9ceb75 /arch/arm64/kernel/setup.c
parentc7a4a7658d689f664050c45493d79adf053f226e (diff)
downloadblackbird-obmc-linux-6ecba8eb51b7d23fda66388a5420be7d8688b186.tar.gz
blackbird-obmc-linux-6ecba8eb51b7d23fda66388a5420be7d8688b186.zip
arm64: Use bus notifiers to set per-device coherent DMA ops
Recently, the default DMA ops have been changed to non-coherent for alignment with 32-bit ARM platforms (and DT files). This patch adds bus notifiers to be able to set the coherent DMA ops (with no cache maintenance) for devices explicitly marked as coherent via the "dma-coherent" DT property. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/setup.c')
-rw-r--r--arch/arm64/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index 93e7df8968fe..7ec784653b29 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -396,7 +396,7 @@ static int __init arm64_device_init(void)
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
return 0;
}
-arch_initcall(arm64_device_init);
+arch_initcall_sync(arm64_device_init);
static DEFINE_PER_CPU(struct cpu, cpu_data);
OpenPOWER on IntegriCloud