linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: dma-mapping: move consistent_init to early_initcall
@ 2010-12-02 22:11 Jeff Ohlstein
  2010-12-02 22:19 ` Russell King - ARM Linux
  0 siblings, 1 reply; 20+ messages in thread
From: Jeff Ohlstein @ 2010-12-02 22:11 UTC (permalink / raw)
  To: linux-arm-kernel

Some machines require the use of coherent memory to bring up auxillary
cpus, and thus want to use dma_alloc_coherent prior to smp_init
completing.

Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
---
 arch/arm/mm/dma-mapping.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
index ac6a361..d46ce8d 100644
--- a/arch/arm/mm/dma-mapping.c
+++ b/arch/arm/mm/dma-mapping.c
@@ -177,7 +177,7 @@ static int __init consistent_init(void)
 	return ret;
 }
 
-core_initcall(consistent_init);
+early_initcall(consistent_init);
 
 static void *
 __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot)
-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2010-12-20 23:22 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 22:11 [PATCH] arm: dma-mapping: move consistent_init to early_initcall Jeff Ohlstein
2010-12-02 22:19 ` Russell King - ARM Linux
2010-12-03 20:06   ` Saravana Kannan
2010-12-03 20:36     ` Russell King - ARM Linux
2010-12-03 22:45       ` Jamie Iles
2010-12-07  6:22       ` Saravana Kannan
2010-12-09  9:23         ` skannan at codeaurora.org
2010-12-09 10:38           ` Russell King - ARM Linux
2010-12-10  0:58             ` Saravana Kannan
2010-12-10 10:00               ` Catalin Marinas
2010-12-12  4:58                 ` Saravana Kannan
2010-12-13 15:26                   ` Catalin Marinas
2010-12-17  2:55                     ` Saravana Kannan
2010-12-17  9:48                       ` Russell King - ARM Linux
2010-12-17 10:26                         ` Saravana Kannan
2010-12-17 10:56                           ` Russell King - ARM Linux
2010-12-17 11:09                             ` Saravana Kannan
2010-12-17 11:31                           ` Catalin Marinas
2010-12-17 23:14                             ` Saravana Kannan
2010-12-20 23:22                               ` Saravana Kannan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).