Received: by 10.223.164.202 with SMTP id h10csp296240wrb; Thu, 30 Nov 2017 10:27:07 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ7fhWT6WnrRpqfqFkenK8FzVDAwjI1dZalRFsQzEd1lyO2BuZEgirklkaNo1YqMAYfUy+T X-Received: by 10.98.159.135 with SMTP id v7mr6922171pfk.162.1512066427605; Thu, 30 Nov 2017 10:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512066427; cv=none; d=google.com; s=arc-20160816; b=fIGaiXDrh1mhIgcAqkllN0/rrKsZuoo2wIKtBvEqsU0ijOAaizZPH7mRcZkV91TxoC BYgoLiNFakBALmR4WxqxkEb7V0GNc+XK/iP8JsWWNCK90fFu1M15MVm5VW1S1V/3wRsQ B+tmJbad6nOXux8ZYmGyk6OzOJudqCMMnFZCOSVNFkgXiGkk7fXyyoZ8AHf+haqEVVii aG3ttAu4tPaP5QUJi5SRH6YIUtHCT25XgUg8jRKo1I656ex8FS7fdjacfXLM2roSlr/E bqoIjCYwAx2tWWrhi2pVy2s0Vzr8XIithU9UW8bkQOmnexilunS+/ZmcJeofL2buOCyO 4fLQ== 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:to:from:cc:in-reply-to:subject:date:dkim-signature :arc-authentication-results; bh=goV+OXwslYF2igh1f1Xrcu8gXPT3rh29K/8Fp0rLYk8=; b=cFBqJmDcrRZ+CBY1eDiRtJGT+hk+ytLgP3DbW9eQK/59qmIP6o02wIyULMH/cqeWxL Zaw8/T4YdDUD1ftUL/YVrk0YWVAddSUoKz7CJr6ozvIjaH1SAHBhwMgtc6BclV/nC2qz QC+QAXPpSi++w0tQCJAFG9ZnRR1hvrf7sGTcpTCEDiAHNzHNPK5JaZrmqavwUOXRJrKV wnbJt9KLGEVJmb3o+9cFbNpfXn8IfRx10Y5KMg9IeB2Fkj4gj+dnle0TV/LqqKATa8eu LdVDrfOWey0Th4ca4Kt7/8lzUtbeXVB7VSKWeCcwFPHLxL9qumeHEX4yQVK0FTHq/r+C nc7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=hlB5gaTW; 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 m12si3358701pgs.784.2017.11.30.10.26.53; Thu, 30 Nov 2017 10:27:07 -0800 (PST) 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=hlB5gaTW; 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 S1750995AbdK3S0i (ORCPT + 99 others); Thu, 30 Nov 2017 13:26:38 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:39508 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750723AbdK3S0h (ORCPT ); Thu, 30 Nov 2017 13:26:37 -0500 Received: by mail-pf0-f195.google.com with SMTP id l24so3462876pfj.6 for ; Thu, 30 Nov 2017 10:26:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=goV+OXwslYF2igh1f1Xrcu8gXPT3rh29K/8Fp0rLYk8=; b=hlB5gaTWxVXRulUrjLpG/hzyjPwapRhF9fJhPA4wMYmhgSbVbSPbpenEMDb9Xbgonc ToNlka7p7IyaKE2N7C6yo7ZoZ9F5GzAZEJqGP1kM4uLqZ89ssuuDqhN119w3mg3aWo7e 7lvFzyvgJK9tLUTcSUKQK47idnKmGrsOu5+9ZvcaXM12Sb+7WncGTfCjzFeMrro7h3bM Ztru/bdYXhGN6GU677AdaJNzLSJuCV7ISuJRmFVhCNf/fJOWwEmgO94YKSaWG9vfATrH LLYfjECQrCdQ6ZDz9wQSRmH4B1j5u3U3hDo1Tn36xJWg8wZZlmTS2s6sLr4bho30U0x7 V4MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=goV+OXwslYF2igh1f1Xrcu8gXPT3rh29K/8Fp0rLYk8=; b=SXBzQQICwlPWmBhnf1Dm3kMo/hql1ic8FfxHaLwmHrLDlbS1P4/QnmdOkcfUolCWFy OsiKHcQW+1fRTovdSMkroI+Rc27AIqLgkAXgd2Wpg21KPh4UOy4+pq73+L01inwAdCd2 JM+DvUK6O+0piLg34S90ljpIUJ7oh+LQxJyb27UuQtTVD+iEMw+gXqRJOiot31rcVxdJ BdWVqVeiXeAlpWQw4Ci6loWR/cmrqtZm71gXOtTMrG7d3KzUmUFyZQee1vHc8TEDw/KT pdmTfLhQCGI49Lfz61GHdRVYanqhn0NKzhjHKI1HHv4pbASIBN6BOLAie4MYiXMZbR2f 7K7A== X-Gm-Message-State: AJaThX4LrOAm2gjedwRcmCL4zn/EX5qELoaqpjWSoc9tgkVMeViivGUN MG9YNmNSi1eQTnLVP3GW4HswJg== X-Received: by 10.98.63.16 with SMTP id m16mr7565254pfa.218.1512066396617; Thu, 30 Nov 2017 10:26:36 -0800 (PST) Received: from localhost (rap-us.hgst.com. [199.255.44.250]) by smtp.gmail.com with ESMTPSA id o70sm5192318pfk.79.2017.11.30.10.26.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 10:26:36 -0800 (PST) Date: Thu, 30 Nov 2017 10:26:36 -0800 (PST) X-Google-Original-Date: Thu, 30 Nov 2017 10:16:01 PST (-0800) Subject: Re: [patches] [PATCH 06/10] RISC-V: Provide stub of setup_profiling_timer() In-Reply-To: <20171130015521.1289-7-olof@lixom.net> CC: albert@sifive.com, patches@groups.riscv.org, linux-kernel@vger.kernel.org, Olof Johansson From: Palmer Dabbelt To: Olof Johansson Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 29 Nov 2017 17:55:17 PST (-0800), Olof Johansson wrote: > Fixes the following on allmodconfig build: > > profile.c:(.text+0x3e4): undefined reference to `setup_profiling_timer' > > Signed-off-by: Olof Johansson > --- > arch/riscv/kernel/smp.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/riscv/kernel/smp.c b/arch/riscv/kernel/smp.c > index b4a71ec..4498f0c 100644 > --- a/arch/riscv/kernel/smp.c > +++ b/arch/riscv/kernel/smp.c > @@ -38,6 +38,13 @@ enum ipi_message_type { > IPI_MAX > }; > > + > +/* Unsupported */ > +int setup_profiling_timer(unsigned int multiplier) > +{ > + return -EINVAL; > +} > + > irqreturn_t handle_ipi(void) > { > unsigned long *pending_ipis = &ipi_data[smp_processor_id()].bits; > @@ -108,3 +115,4 @@ void smp_send_reschedule(int cpu) > { > send_ipi_message(cpumask_of(cpu), IPI_RESCHEDULE); > } > + This adds a trailing newline, I'm going to drop it in my tree commit 5c0a7217f172899ddacc32bac16549a274a5ae05 Author: Olof Johansson Date: Wed Nov 29 17:55:20 2017 -0800 RISC-V: Add missing include Fixes: include/asm-generic/mm_hooks.h:20:11: warning: 'struct vm_area_struct' declared inside parameter list will not be visible outside of this definition or declaration include/asm-generic/mm_hooks.h:19:38: warning: 'struct mm_struct' declared inside parameter list will not be visible outside of this definition or declaration Signed-off-by: Olof Johansson Signed-off-by: Palmer Dabbelt diff --git a/arch/riscv/include/asm/mmu_context.h b/arch/riscv/include/asm/mmu_context.h index de1fc1631fc4..1cd5172882c2 100644 --- a/arch/riscv/include/asm/mmu_context.h +++ b/arch/riscv/include/asm/mmu_context.h @@ -14,6 +14,7 @@ #ifndef _ASM_RISCV_MMU_CONTEXT_H #define _ASM_RISCV_MMU_CONTEXT_H +#include #include #include From 1585454401841502441@xxx Thu Nov 30 01:59:02 +0000 2017 X-GM-THRID: 1585454401841502441 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread