From mboxrd@z Thu Jan 1 00:00:00 1970 From: johlstei@codeaurora.org (Jeff Ohlstein) Date: Tue, 7 Dec 2010 20:28:16 -0800 Subject: [PATCH v2 1/6] arm: dma-mapping: move consistent_init to early_initcall In-Reply-To: <1291782501-3909-1-git-send-email-johlstei@codeaurora.org> References: <1291782501-3909-1-git-send-email-johlstei@codeaurora.org> Message-ID: <1291782501-3909-2-git-send-email-johlstei@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Some machines require the use of coherent memory to bring up auxiliary cpus, and thus want to use dma_alloc_coherent prior to smp_init completing. Signed-off-by: Jeff Ohlstein --- 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.