Message ID | 20171004132435.yt54irsc7vwht5dy@armageddon.cambridge.arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8DAA16038E for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 4 Oct 2017 13:25:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7D586283ED for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 4 Oct 2017 13:25:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 722B72842E; Wed, 4 Oct 2017 13:25:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0D34628405 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 4 Oct 2017 13:25:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dnFkfsRYKUk9hTLzSvywjxrsooSVgqLRtamkpEeYKW8=; b=sgZLlzqGnVVp76 pJFdY6y0AcA56NKeZzbqFDMM1RxXqDOZNQghCtJO1VAXdvcO6JoiBh0MLdhNrXTraUJYQHzmCK2H3 29/4fp5OADIPHAuw7ufrCmXUHsaG5c/YcRs2SAeu1txLqiZuEEMUDm/PAR0bteO+kJwWVSsspoIYJ 1mCel+k2xp6/6dIxDr9MCwJsD2PaGKBrVR7L+NskInFzmlsPvuwviLxZPNU+bmv8xUiTbIZQywrFd e8XzNNckvkY2kjzqSsGPxYOG4e6a8YAr/vIoz8o6fKlO+1vLj3CReRpFxx9D0XsF3ECyeHWLaJkKB tp2vU/SAipDaRqMVqckg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dzjff-00066M-Go; Wed, 04 Oct 2017 13:25:07 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dzjfY-0005UQ-Lw for linux-arm-kernel@lists.infradead.org; Wed, 04 Oct 2017 13:25:06 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4116880D; Wed, 4 Oct 2017 06:24:40 -0700 (PDT) Received: from armageddon.cambridge.arm.com (armageddon.cambridge.arm.com [10.1.206.84]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 97C8C3F578; Wed, 4 Oct 2017 06:24:38 -0700 (PDT) Date: Wed, 4 Oct 2017 14:24:36 +0100 From: Catalin Marinas <catalin.marinas@arm.com> To: Dave Martin <Dave.Martin@arm.com> Subject: Re: [PATCH] arm64: Enable MRS emulation early Message-ID: <20171004132435.yt54irsc7vwht5dy@armageddon.cambridge.arm.com> References: <20171004094805.24009-1-suzuki.poulose@arm.com> <20171004101425.GB23092@leverpostej> <20171004111040.vumbc3bk7sj2enc6@armageddon.cambridge.arm.com> <20171004113207.GT3611@e103592.cambridge.arm.com> <20171004113628.t4gv7srwpvbwwbsl@armageddon.cambridge.arm.com> <20171004124819.GU3611@e103592.cambridge.arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20171004124819.GU3611@e103592.cambridge.arm.com> User-Agent: NeoMutt/20170113 (1.7.2) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171004_062500_771780_2DEBB3B8 X-CRM114-Status: GOOD ( 19.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Mark Rutland <mark.rutland@arm.com>, Suzuki K Poulose <suzuki.poulose@arm.com>, Will Deacon <will.deacon@arm.com>, linux-kernel@vger.kernel.org, stable@vger.kernel.org, matwey.kornilov@gmail.com, James Morse <james.morse@arm.com>, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/init/main.c b/init/main.c index 0ee9c6866ada..67040e570533 100644 --- a/init/main.c +++ b/init/main.c @@ -914,10 +914,16 @@ static void __init do_basic_setup(void) driver_init(); init_irq_proc(); do_ctors(); - usermodehelper_enable(); do_initcalls(); } +static int usermodehelper_init(void) +{ + usermodehelper_enable(); + return 0; +} +arch_initcall_sync(usermodehelper_init); + static void __init do_pre_smp_initcalls(void) { initcall_t *fn;