Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1297864ybg; Fri, 18 Oct 2019 15:25:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwV5Xs19Fq+CubRsheZDkLKyV/XZadjAT5+16j6HkCZtmXnAATsopFvhWYotmdyYmvWCT+q X-Received: by 2002:a17:906:4748:: with SMTP id j8mr11123378ejs.210.1571437557620; Fri, 18 Oct 2019 15:25:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571437557; cv=none; d=google.com; s=arc-20160816; b=Cy/oPAobAFRfbptv5D6EMCGlZ9LjVfbdbni9Gp7nGS7Y0tFM75KJBYLKCA98FDzcwt dXoGGaihQR+0jyqAl83jqcGqYgMeld4MsnJcgdAoEiiqc0GBM5G2t3hkBW532UUI27ot cBSvCBIc8Z7A/7kd685J4i+5scZLZnwOwdylCr04MRv8Ja/g1f/AJ62yYKT7Dg3TJU4S n+vmlg9MIltvhh9dumB/DXB1bnBumQH6cQDXEd/ucqBeCikgLmr8m5SRCpUXiMQoVGgc bDVJMbd0LPbGvl81HlZO1oaCqeaCGrgVwG9OIMY5DzFt3NKsAB6kfSlgSruwiF61B1kj Zylg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=xMVFVGLiYSSLdYjE6VASkhDClgpi5ByjWpde3EPzDTo=; b=JZbnpVaxE4nx+8jK8wlB8f/hcp8H6nvy07aCjD+dch9ffNoZKgri91JSkrssmd1kfN 2k6fw2WYzOF6sqtqBnnsq1NSNyJ+rxqz7RBExNe3A6fo6lSeZbTek8vY63D89Glx3Hxs DqV7+Ydw9mMK4E9jxv4Aie3E/g/zBOzI1BByW9tRQxP/zkJPco4O/EblLcRHIcrZV23d iqesMttmN8kdZkL4Lge5Cv9/CDDq3xKLiGZ6ijy15Tl8eiMzn0i1WUaOzNH63N+QsZkO 40kfkpNkBT8WaYMYObLrMpgMp6pFs3sdTEAeGrMEFJTNEmJgrKusF7IjMDKULZigmakI 1SzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=awDrOrTN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w43si5099341edd.332.2019.10.18.15.25.34; Fri, 18 Oct 2019 15:25:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=awDrOrTN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404580AbfJRBPe (ORCPT + 99 others); Thu, 17 Oct 2019 21:15:34 -0400 Received: from mail-il1-f195.google.com ([209.85.166.195]:38881 "EHLO mail-il1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391934AbfJRBPe (ORCPT ); Thu, 17 Oct 2019 21:15:34 -0400 Received: by mail-il1-f195.google.com with SMTP id y5so3986236ilb.5 for ; Thu, 17 Oct 2019 18:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=xMVFVGLiYSSLdYjE6VASkhDClgpi5ByjWpde3EPzDTo=; b=awDrOrTNZsTliFwdBDUIyxs4uX5joR2/y276X1UXTxr76eI9fflr4Pp//BNKhw4LDP udF5JY/ajGrCY8RdxmG2kJGXyipHWyNWPld3aZCqGILhwuTzivqGa1IDcV2DNRnj84q3 jlhnWl/WK/LTKjgg1pinyZrNLcMWVxx9FOwlZFX2iHQXHVfBZCuyWYvdWDFdVSM66+B4 SHBwMkz/wzQWkQVbZR+r2lNRYuiUTKLqYPo0e3CA1LavnCJGdkOF8sRgaNGe05WYeZC+ xG/cSojbKWDQHv1N8NC8pVWLjReHS2jTlxCJFM1wMFgozUD9nbcTIJIUroCyYj2/DMdi Udlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=xMVFVGLiYSSLdYjE6VASkhDClgpi5ByjWpde3EPzDTo=; b=jqTow5UiKaM8eD4i9yUyNH2X1pig+Uw/A/vAS32krEaeXRvKGmoksddXUqY4gXyVmM /3nhuGwyVG0yQsur7Si6N7TlA+ZCOwc2fWa13ra/KcnCqz6i1QQW6sP6TrpKtXjuIsZx gMzvQDvcoronOQRWcGuoo1VIiCa49tpUuzAvQl6r+Z5sf4/SARyOH8zgROV2LywDTL82 0ggzQEuXFhCw4GZNd54P2ltkgj3GrJsQRjhMgZQnka8tdikX/4zEelgGm0TKHSiIx53j 8cmFO7nFgukOLwBE+Gb+rQJYmJxb1RCkx87sJenFiOD/XyZVQim/cimPxsZ+rwiwOgXr O10A== X-Gm-Message-State: APjAAAUKHSsEH7xH/LYcVkkI2V2U4jW/FqSC2GGwiMO0KoIn2lqEDDMi /PDuUkGRshGKA/lBbVIAZSM2iQ4ERRY= X-Received: by 2002:a92:83c5:: with SMTP id p66mr7527394ilk.204.1571361331720; Thu, 17 Oct 2019 18:15:31 -0700 (PDT) Received: from localhost ([64.62.168.194]) by smtp.gmail.com with ESMTPSA id t86sm1829722ila.21.2019.10.17.18.15.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 18:15:31 -0700 (PDT) Date: Thu, 17 Oct 2019 18:15:29 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: linux-riscv@lists.infradead.org cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/8] riscv: add prototypes for assembly language functions from head.S In-Reply-To: <20191018004929.3445-3-paul.walmsley@sifive.com> Message-ID: References: <20191018004929.3445-1-paul.walmsley@sifive.com> <20191018004929.3445-3-paul.walmsley@sifive.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Oct 2019, Paul Walmsley wrote: > Add prototypes for assembly language functions defined in head.S, > and include these prototypes into C source files that call those > functions. [ ... ] > diff --git a/arch/riscv/mm/fault.c b/arch/riscv/mm/fault.c > index 96add1427a75..ec15a9b15448 100644 > --- a/arch/riscv/mm/fault.c > +++ b/arch/riscv/mm/fault.c > @@ -18,6 +18,8 @@ > #include > #include > > +#include "../head.h" > + "../kernel/head.h", rather. - Paul