Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752278Ab0LHE2d (ORCPT ); Tue, 7 Dec 2010 23:28:33 -0500 Received: from wolverine01.qualcomm.com ([199.106.114.254]:53039 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752184Ab0LHE2a (ORCPT ); Tue, 7 Dec 2010 23:28:30 -0500 X-IronPort-AV: E=McAfee;i="5400,1158,6190"; a="65899428" X-IronPort-AV: E=Sophos;i="4.59,313,1288594800"; d="scan'208";a="34584815" From: Jeff Ohlstein To: Daniel Walker , Russell King Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jeff Ohlstein , Abhijeet Dharmapurikar , Russell King , Catalin Marinas , Nicolas Pitre , Tejun Heo Subject: [PATCH v2 1/6] arm: dma-mapping: move consistent_init to early_initcall Date: Tue, 7 Dec 2010 20:28:16 -0800 Message-Id: <1291782501-3909-2-git-send-email-johlstei@codeaurora.org> X-Mailer: git-send-email 1.7.3.2 In-Reply-To: <1291782501-3909-1-git-send-email-johlstei@codeaurora.org> References: <1291782501-3909-1-git-send-email-johlstei@codeaurora.org> To: Russell King Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1081 Lines: 31 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/