Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3840731imu; Mon, 12 Nov 2018 01:07:14 -0800 (PST) X-Google-Smtp-Source: AJdET5dVMg9JqkQvMLGnrOaGiB1rB4e/8mxHCSlkz7xGSFPDT/3pKouDMUeWrSRTW2fNcua+zJDP X-Received: by 2002:a63:d513:: with SMTP id c19mr103212pgg.287.1542013633937; Mon, 12 Nov 2018 01:07:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542013633; cv=none; d=google.com; s=arc-20160816; b=zwDiSG5U1maP/aqo+gzw7ttfUtpoplFakzkfJiZLGqrKeRRSZLqa2L58p1vKNEjww/ dfz982jj/LCU/6u6VbTfnzMWv6u9hLvG9L5phxQbDH1SCKgcTPh2ZG8cIA6RFjOb7NjX 31Z62lr3IVZwdimGTYEVivjBmyk0g4RjJ9uCmDC/yqLcieXOeuzFwvfJBuqjPi/NX6Y5 M7pnl5AG0I7GlqY+8KVM55SJ1l/tySGS/4AGa2m0tdgKOEnY8hRt0Z07cpXj/rzdVqUl OlVrQXllBkDh088SO0A4Xexb7dYojWyxtDH97Jz9SiH28JjPsPDqvIXJSGfjwQ980mG4 QuEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date; bh=28/ARdvC91vKz/dfY5tll3eNXNxm22AJNkA4pVGuxe8=; b=UhFfsD6yCTvaL2UzUSA8pMIdtcBzGyf3432VzX4xUhSUV59oCQfpXUhfHfYQOxSzxa LsOtZN40KMyiUt0G3vUb7/TXaaORTPhK0jPk76XX1ZjiN7qVBp6ypPoTI6YYqym7aoMR Y3mLvbqVLIrltZ99aazt01Ujs9o1TeYPc9jpgF5jj2dRxlhUOXYGKKpwsT5sMbHGdLkg QGYgRatiYdxAptzuSs/lrQ/zmYMwgYaL5CzUAzOfybKcrrSOSPmydICIb3jWbcXOwdu4 9tzEcAe34OCc5RMUwPcVgzA+xYA/C1CXWm/wqtFnHgWzlmu6eHlE1zqdiAdT7FBVdf5q MEVg== ARC-Authentication-Results: i=1; mx.google.com; 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 i12-v6si16467234plt.9.2018.11.12.01.06.59; Mon, 12 Nov 2018 01:07:13 -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; 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 S1729204AbeKLS6r (ORCPT + 99 others); Mon, 12 Nov 2018 13:58:47 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:51960 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728416AbeKLS6r (ORCPT ); Mon, 12 Nov 2018 13:58:47 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id D2621297D7; Mon, 12 Nov 2018 04:06:27 -0500 (EST) Date: Mon, 12 Nov 2018 20:06:50 +1100 (AEDT) From: Finn Thain To: Geert Uytterhoeven cc: Arnd Bergmann , Stephen N Chivers , Thomas Gleixner , Daniel Lezcano , John Stultz , linux-m68k , Linux Kernel Mailing List , Philip Blundell , Michael Schmitz , Joshua Thompson Subject: Re: [RFC PATCH 06/13] m68k: Drop ARCH_USES_GETTIMEOFFSET In-Reply-To: Message-ID: References: <74edaee07800f91eb416ab3e72c4670b8ef4bd4e.1541995959.git.fthain@telegraphics.com.au> 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 Mon, 12 Nov 2018, Geert Uytterhoeven wrote: > Hi Finn, > > Thanks for your patch! > > On Mon, Nov 12, 2018 at 5:46 AM Finn Thain wrote: > > The functions that implement arch_gettimeoffset are re-used by > > new clocksource drivers in subsequent patches. > > Disabling this first affects functionality during bisection, right? > It means that all platforms have to use the 'jiffies' clocksource. At the end of the series, only apollo, q40, sun3 & sun3x continue to use that clocksource. > > --- a/arch/m68k/amiga/config.c > > +++ b/arch/m68k/amiga/config.c > > @@ -95,8 +95,6 @@ static char amiga_model_name[13] = "Amiga "; > > static void amiga_sched_init(irq_handler_t handler); > > static void amiga_get_model(char *model); > > static void amiga_get_hardware_list(struct seq_file *m); > > -/* amiga specific timer functions */ > > -static u32 amiga_gettimeoffset(void); > > extern void amiga_mksound(unsigned int count, unsigned int ticks); > > static void amiga_reset(void); > > extern void amiga_init_sound(void); > > @@ -386,7 +384,6 @@ void __init config_amiga(void) > > mach_init_IRQ = amiga_init_IRQ; > > mach_get_model = amiga_get_model; > > mach_get_hardware_list = amiga_get_hardware_list; > > - arch_gettimeoffset = amiga_gettimeoffset; > > In addition, won't this lead to "function defined statically but not > called' warnings? > I expect so. I haven't compile-tested each step in the series; but I'll do that before I send v2. Thanks for the reminder. There are no new warnings at the end of the series. -- > Gr{oetje,eeting}s, > > Geert > >