From patchwork Thu Jun 6 15:03:02 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 17650 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9CAEF20F47 for ; Thu, 6 Jun 2013 15:03:34 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id d10sf3217893vea.4 for ; Thu, 06 Jun 2013 08:03:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=9R2JTZNgRnDucUMKSWnsVQnmCwtTIM5ml+ybdto85lc=; b=SzWpEQU6esmoygWon/HDM1vdAMutc4eQRC38nw2oqmmZVdSjggdMIoB3lYAN8w0KtQ SahUzKWzPXx25+CAGIhxldjegC0FfvLn/k43cELRw1lSO97rXCmwk1s7XxPhv1Aecjhj bp/i1VewVFZcRkkhn7I33Lj2qP39m3dwrnBOWC72SAg4+/JekKqBYM2KN83OvwbChxnu oVDRr5z4JUBvpQ/Hb9OMHFCxQ5FpDhd4ZNjQv4scJujXPXlFrrIqP1GlGNvuUdgAPw6A fYT1UdnnTKdU4TVqhRfCL6+DgHipQcoZds0J1IJbRVcIASV7ozx7DZd7ckxT/KmMf1Fw 27xw== X-Received: by 10.224.200.202 with SMTP id ex10mr21464252qab.8.1370531014081; Thu, 06 Jun 2013 08:03:34 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.29.3 with SMTP id f3ls1282511qeh.83.gmail; Thu, 06 Jun 2013 08:03:33 -0700 (PDT) X-Received: by 10.220.185.136 with SMTP id co8mr903237vcb.25.1370531013844; Thu, 06 Jun 2013 08:03:33 -0700 (PDT) Received: from mail-ve0-x22e.google.com (mail-ve0-x22e.google.com [2607:f8b0:400c:c01::22e]) by mx.google.com with ESMTPS id iz8si41629153vdb.6.2013.06.06.08.03.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 08:03:33 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::22e is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::22e; Received: by mail-ve0-f174.google.com with SMTP id oz10so2286049veb.33 for ; Thu, 06 Jun 2013 08:03:33 -0700 (PDT) X-Received: by 10.52.53.36 with SMTP id y4mr18417111vdo.51.1370531013535; Thu, 06 Jun 2013 08:03:33 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp70244vcb; Thu, 6 Jun 2013 08:03:32 -0700 (PDT) X-Received: by 10.194.174.137 with SMTP id bs9mr31615040wjc.59.1370531012515; Thu, 06 Jun 2013 08:03:32 -0700 (PDT) Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [2a00:1450:400c:c03::232]) by mx.google.com with ESMTPS id n10si28502534wjz.147.2013.06.06.08.03.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 08:03:32 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c03::232 is neither permitted nor denied by best guess record for domain of ard.biesheuvel@linaro.org) client-ip=2a00:1450:400c:c03::232; Received: by mail-we0-f178.google.com with SMTP id u53so2153327wes.37 for ; Thu, 06 Jun 2013 08:03:32 -0700 (PDT) X-Received: by 10.180.185.244 with SMTP id ff20mr10396405wic.0.1370531012013; Thu, 06 Jun 2013 08:03:32 -0700 (PDT) Received: from ards-mac-mini.local (cag06-7-83-153-85-71.fbx.proxad.net. [83.153.85.71]) by mx.google.com with ESMTPSA id cw8sm16357697wib.7.2013.06.06.08.03.30 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Jun 2013 08:03:31 -0700 (PDT) From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org Cc: nico@linaro.org, rob.herring@calxeda.com, linux@arm.linux.org.uk, patches@linaro.org, Ard Biesheuvel Subject: [PATCH 2/5] ARM: move VFP init to an earlier boot stage Date: Thu, 6 Jun 2013 17:03:02 +0200 Message-Id: <1370530985-20619-3-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1370530985-20619-1-git-send-email-ard.biesheuvel@linaro.org> References: <1370530985-20619-1-git-send-email-ard.biesheuvel@linaro.org> X-Gm-Message-State: ALoCoQlD9e9iPqiKSnExE7FGA7tqfy0q/Pp36N8JjnKovFe/dK3MeB3o52z4yp9StvdP0bUOElMn X-Original-Sender: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::22e is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , In order to use the NEON unit in the kernel, we should initialize it a bit earlier in the boot process so NEON users that like to do a quick benchmark at load time (like the xor_blocks or RAID-6 code) find the NEON/VFP unit already enabled. Replaced late_initcall() with core_initcall(). Signed-off-by: Ard Biesheuvel Acked-by: Nicolas Pitre --- arch/arm/vfp/vfpmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c index 1cdc13b..4c39f91 100644 --- a/arch/arm/vfp/vfpmodule.c +++ b/arch/arm/vfp/vfpmodule.c @@ -774,4 +774,4 @@ static int __init vfp_init(void) return 0; } -late_initcall(vfp_init); +core_initcall(vfp_init);