Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp503675ybz; Fri, 17 Apr 2020 05:14:47 -0700 (PDT) X-Google-Smtp-Source: APiQypJN7rWpP0+Pc1JbudHiskp0I2Ssui8MeKOKtU3OFOZt3SJshkdoodjLbrqHWfBrTTbItNvF X-Received: by 2002:a17:906:3796:: with SMTP id n22mr2576576ejc.225.1587125687174; Fri, 17 Apr 2020 05:14:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587125687; cv=none; d=google.com; s=arc-20160816; b=LQ2OvQAtL+iaEhlhjrlokLL/z0MIdtvMTO4/ylDAJVMKpBTvsVe0G4mN75rMliEsa1 0WgBsDUUMXSOPuAhSyZU158VyQ925FRCimcBg2Zw3l/RV0w6c9njn7QhYTvB2U0c1sb7 8lEnFFCjd2jyQWT/L4wMsLOm+EyPSgAmcwM7Fh/uskWUtCBmdB80eQXZW+ozsS2XcA5T RYn3MuSW9Zlq5M1M+Vb6Vd1r8s2+X7RJuY7d5CYYF6gPnvbZa+va6fnWTqaHyGQBmZkK CpZJlZSR9IRrPEmAsaWGQPWMjTfn83YTkrheWLqqMGJntPwcFnsNWvZqjZBIltutt1+u C/3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=DY0/sGN4LudDfKo0ISOR9qVcau/AnxPTIjv0bY4bBPg=; b=uVgvJ8KXMXcc5p4esi4o6ps8OzNxYjzaViyq0IRq/zs2pNpUjPGIYdkPGTabT/Mb17 OgU7mY2etrmU/TNaQklzWAl0OTWHw5YiVK57Z1t5/vQRAdXyH/g/KXQLGMoQ4IvGcSqA z8BQ7ZSs8Rq5HlB/WYJkk/Ew9AULmdxXn65ig37egPUgIqoj6n8J6AulMPol+l7KDZGS auBxevIEfTd4vScr+ps6TM4Ed1wW4RgvOeDZilfnqbMCbv3ymC/uQh9Eowg3lEOfe38w PEjr51JFe3W/tv0hAxziIo/b0V2a73SJJyb2oXWy2c4942A9J+mHsN+BKjY+4aZJ3KsW 0JTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oc19si8755798ejb.487.2020.04.17.05.14.24; Fri, 17 Apr 2020 05:14:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728163AbgDQMKq (ORCPT + 99 others); Fri, 17 Apr 2020 08:10:46 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2351 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727831AbgDQMKq (ORCPT ); Fri, 17 Apr 2020 08:10:46 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 9B89DD7271A07F10F0C2; Fri, 17 Apr 2020 20:10:44 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Fri, 17 Apr 2020 20:10:36 +0800 From: Kefeng Wang To: , Paul Walmsley , "Palmer Dabbelt" , Albert Ou , , CC: Kefeng Wang Subject: [PATCH 1/3] riscv: sbi: Correct sbi_shutdown() and sbi_clear_ipi() export Date: Fri, 17 Apr 2020 20:12:20 +0800 Message-ID: <20200417121222.156422-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix incorrect EXPORT_SYMBOL(). Fixes: efca13989250 ("RISC-V: Introduce a new config for SBI v0.1") Signed-off-by: Kefeng Wang --- arch/riscv/kernel/sbi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/riscv/kernel/sbi.c b/arch/riscv/kernel/sbi.c index 7c24da59bccf..62b10a16c8d7 100644 --- a/arch/riscv/kernel/sbi.c +++ b/arch/riscv/kernel/sbi.c @@ -102,7 +102,7 @@ void sbi_shutdown(void) { sbi_ecall(SBI_EXT_0_1_SHUTDOWN, 0, 0, 0, 0, 0, 0, 0); } -EXPORT_SYMBOL(sbi_set_timer); +EXPORT_SYMBOL(sbi_shutdown); /** * sbi_clear_ipi() - Clear any pending IPIs for the calling hart. @@ -113,7 +113,7 @@ void sbi_clear_ipi(void) { sbi_ecall(SBI_EXT_0_1_CLEAR_IPI, 0, 0, 0, 0, 0, 0, 0); } -EXPORT_SYMBOL(sbi_shutdown); +EXPORT_SYMBOL(sbi_clear_ipi); /** * sbi_set_timer_v01() - Program the timer for next timer event. -- 2.20.1