From patchwork Sun Sep 24 17:28:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 9968097 Return-Path: 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 340BA602B9 for ; Sun, 24 Sep 2017 17:28:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1571E28C1E for ; Sun, 24 Sep 2017 17:28:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 094F128C4D; Sun, 24 Sep 2017 17:28:14 +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=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 89DDB28C1E for ; Sun, 24 Sep 2017 17:28:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752629AbdIXR2N (ORCPT ); Sun, 24 Sep 2017 13:28:13 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:35192 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752624AbdIXR2M (ORCPT ); Sun, 24 Sep 2017 13:28:12 -0400 Received: by mail-pf0-f194.google.com with SMTP id i23so2674071pfi.2; Sun, 24 Sep 2017 10:28:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=DLALj77uqItQLyHri0E55Zy6alKzOlRad4LG6EvIn58=; b=CYIpv6QfA5yYgBJSihlHUXsCfa0646VfLtau96U8+xhVgXyByUY7Qslc657tqCrA+S Nre3rrDGZ04aMlZrqSWjqQtLPX1cejeVMCxKUtigAN1NnN7mXF+3t4S2AJj13GD3M8cl IK99b9CGiJ71xseRuedl/4sdEWmvg5j2bAzbIohvvcUj3vPAMq9Z8VoeNZyRsyuAPrre UoQrRlBsq4e/6BYJsol0yEvz8CIkB+BoWq2Ixk94gBtI8BNd1uMiFAJG4djkISPSiupQ M2oSTKIKNt2Mi7nlNAVkZjj5qweqRDEnggoVxAnh58+6sTVas6bry0Pa0v7rRFQypytR HRtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=DLALj77uqItQLyHri0E55Zy6alKzOlRad4LG6EvIn58=; b=TwpDAnopr/jMRUk8fdFyvRAZxIgNEz8XsfW16G1HLVdYaktly9UyXvjAZ0WOKNq7gP VhjrppqUiNTWX8Vaqv1B+TG+HMBizXIMUFrJEJZuNDtoJTDyoWsjmbvwvaUegwlipL2d fBbkz6AAYc7u9rIU2g3b8BnrmTM1TH7cansJfkDMlYjRdzxZvLgH02lsnZIvB0ZvEIM0 6IkDOXsGAM9/N7r28vdHuXArFRSYHAL6kEFmjWUkl4Kn+PulEQYPyifR/ioRCsHIgLvX hx3W4IL1vWpUBdm0VpvinmItcJ4Rn9TgJid1I9flkxe8V9AXy8i5BBYGS+Uf5vRus8FR owXw== X-Gm-Message-State: AHPjjUij3b3t9YOfhQuDZnyvOQLqMw5znH5VHybC5PZGrt+rYxp8pCRZ bXgapY/Mg7qt1vhAEJqgqys= X-Google-Smtp-Source: AOwi7QCqJ/cNhhGmhw88hqyH7aGY+zT5gbipQedf2BI9OclJP+BJvgMFhDFmJSAm3Vakur8Sh2GMzw== X-Received: by 10.84.131.100 with SMTP id 91mr5222403pld.247.1506274091970; Sun, 24 Sep 2017 10:28:11 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id m15sm7291403pfh.35.2017.09.24.10.28.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Sep 2017 10:28:11 -0700 (PDT) From: Guenter Roeck To: "James E . J . Bottomley" Cc: Helge Deller , linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck Subject: [PATCH] parisc: Export __cmpxchg_u64 unconditionally Date: Sun, 24 Sep 2017 10:28:09 -0700 Message-Id: <1506274089-28269-1-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.7.4 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP __cmpxchg_u64 is built and used outside CONFIG_64BIT and thus needs to be exported. This fixes the following build error seen when building parisc:allmodconfig. ERROR: "__cmpxchg_u64" [drivers/net/ethernet/intel/i40e/i40e.ko] undefined! Signed-off-by: Guenter Roeck --- arch/parisc/kernel/parisc_ksyms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/parisc/kernel/parisc_ksyms.c b/arch/parisc/kernel/parisc_ksyms.c index c6d6272a934f..7baa2265d439 100644 --- a/arch/parisc/kernel/parisc_ksyms.c +++ b/arch/parisc/kernel/parisc_ksyms.c @@ -35,12 +35,12 @@ EXPORT_SYMBOL(memset); EXPORT_SYMBOL(__xchg8); EXPORT_SYMBOL(__xchg32); EXPORT_SYMBOL(__cmpxchg_u32); +EXPORT_SYMBOL(__cmpxchg_u64); #ifdef CONFIG_SMP EXPORT_SYMBOL(__atomic_hash); #endif #ifdef CONFIG_64BIT EXPORT_SYMBOL(__xchg64); -EXPORT_SYMBOL(__cmpxchg_u64); #endif #include