Received: by 10.223.164.202 with SMTP id h10csp103155wrb; Wed, 29 Nov 2017 17:59:02 -0800 (PST) X-Google-Smtp-Source: AGs4zMZ81DKXma5eaxBvz7sTpLM/LaZ9tGkDrcIvX4iExM+M7hVkfu+pxsmexBGSa3ZmBgzVbiBh X-Received: by 10.84.168.101 with SMTP id e92mr903018plb.34.1512007142549; Wed, 29 Nov 2017 17:59:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512007142; cv=none; d=google.com; s=arc-20160816; b=tVYZB9YZ/+WAE0hCzYt844TUm6kz1bXMbk4PedER0JsIrQGDskXSJZtOMrGvjlP/9V IlTs77KZVnWG7nYvj6I/e1kEJWCy6DTPAV58bGRkgArGJO8+yDMEL2rp3jHFxypiAhOH WXa3DBUXY3n40m+QB/1wtuL4UrHG76atMKl71e4XnIWjsULzvqErIQajavXD/tTdngN9 /XFL0TfNSKCOJ99MELkyec4KraCm+nCEx4Psw7xlCHGNy0nFwFH8yM+o9kMUco3kRh0s 1/fo39YLscRsDCUdvhkZcTltlBwwQoBAGAQOr5mN8wWVC7FmXCd3K2+PhaPI5unJVHCZ uxUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=JzShb10bNE6hhBcnCPVQFpVlRsusjVYCl9bGs5LFoL8=; b=J1cLnH8bFp6++z1Md4zrU00b9nWKOt48CMGxcjvoQPxxBBK6k89nHJdZeP7cyicY7t 1AYArDqaQQcw7bvvTnunVaF9Suug+D9SPJxKEjCIvPLSuEUtmjBLa9QTe4g0q4TL7oP6 VvwsvMto+gr23YkSBjy9NHoG/Hbl+w7TYfIPFvS1sOcoNHBWB0rwS12+pp60xVn/QcVW tB9el1Xgp2iCUopVqLC3QkPi/oeYaodDvQvVqXmT2Fvo9wi8qzC7UKbOsq0C5BL9Dr05 YoVE8GAiaVbWGbLN0ydXo5kS8/MdbIVN0hIInO6c3bc1jFF8xj9HhhBXg9owDi8Cv4I1 wdAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=sgrHi9E1; 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 97si2210936plc.263.2017.11.29.17.58.49; Wed, 29 Nov 2017 17:59:02 -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=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=sgrHi9E1; 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 S1753841AbdK3B5Z (ORCPT + 99 others); Wed, 29 Nov 2017 20:57:25 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:33978 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753554AbdK3Bzv (ORCPT ); Wed, 29 Nov 2017 20:55:51 -0500 Received: by mail-pg0-f65.google.com with SMTP id j4so2355507pgp.1 for ; Wed, 29 Nov 2017 17:55:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JzShb10bNE6hhBcnCPVQFpVlRsusjVYCl9bGs5LFoL8=; b=sgrHi9E1i9N6pFy4vVImleQ+//J9mitqpMeNzE7P6m/d4zDtNc4bybNlxN6VeWqf54 21hjLrhy7IylqMq7m33pGpg0pqZUoNKFpZvzxJbgO+h8ymHO2FBnbFidtnjXqsvgWQCH uWb+cIGzotraZWD9gQyNtPVWuoYCKJfaRWDFH/3eGNx8Cj+Z2Zq7ns3U6ZCQ3ySdYxME TZyYAag8eb6dDc8sXQKN+2QJ0t8SGxI7PwmTkuErVE7sHSGeL2tWY5djAnAPdL8oS5ya Rle46Rc4GLM/CeRC8eiAxm4kVBTeXViJQjsXw0UJI46dp+WKnGGXSKunQPEtt4lqoZqR kXaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JzShb10bNE6hhBcnCPVQFpVlRsusjVYCl9bGs5LFoL8=; b=ieLe6P+6FrDXyNTa1BDMFERibfACt0pl54W0CZv+SSNR+U9utZn5N/CDmIr0YRFx0N RJi8PfsiZT0D9MkBDd+d5PBM9v3RBWCiHXJugB1YIbgF9wjY63Fuqh4DUiFXEv+3MJ5O 5HqZRLM6wFhKzdzMm/qez/RrkFI2g7HHnLBfgKs6CVT0jZTI9x7h5NW1QzZYFwNhniec GrMzJYlYm0+qhBYJqadeMkoPQyIetrtrnipuQELrhgWL0fXXJFW2OnUmpwAF1BHOoNKy VtPNesEO6+9VpiTSvHSjLi9w78mTH638NRBse70jVDI1jcs83dUklsRiFDhWYBM7Hr+l dJPg== X-Gm-Message-State: AJaThX506I4zOuI0G2tEAevKzfYA/unt6ohLSpVhn9WNuKjlmVjVBZLr CjJety2CPercF9+jsWYSka/nrw== X-Received: by 10.98.166.148 with SMTP id r20mr4895248pfl.80.1512006951148; Wed, 29 Nov 2017 17:55:51 -0800 (PST) Received: from brutus.lixom.net (173-13-129-225-sfba.hfc.comcastbusiness.net. [173.13.129.225]) by smtp.gmail.com with ESMTPSA id l80sm5178177pfb.124.2017.11.29.17.55.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Nov 2017 17:55:49 -0800 (PST) From: Olof Johansson To: Palmer Dabbelt Cc: Albert Ou , patches@groups.riscv.org, linux-kernel@vger.kernel.org, Olof Johansson Subject: [PATCH 06/10] RISC-V: Provide stub of setup_profiling_timer() Date: Wed, 29 Nov 2017 17:55:17 -0800 Message-Id: <20171130015521.1289-7-olof@lixom.net> X-Mailer: git-send-email 2.8.6 In-Reply-To: <20171130015521.1289-1-olof@lixom.net> References: <20171130015521.1289-1-olof@lixom.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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); } + -- 2.8.6 From 1585529477333033075@xxx Thu Nov 30 21:52:20 +0000 2017 X-GM-THRID: 1585216393710549190 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread