From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3vWyCb6bQszDqH7 for ; Mon, 27 Feb 2017 21:11:07 +1100 (AEDT) In-Reply-To: <1487690321-21553-1-git-send-email-fweisbec@gmail.com> To: =?utf-8?b?RnLDqWTDqXJpYyBXZWlzYmVja2Vy?= , LKML From: Michael Ellerman Cc: Frederic Weisbecker , Abdul Haleem , Oliver O'Halloran , Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: Re: powerpc: Remove leftover cputime_to_nsecs call causing build error Message-Id: <3vWyCb5hbdz9sNF@ozlabs.org> Date: Mon, 27 Feb 2017 21:11:07 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2017-02-21 at 15:18:41 UTC, =?utf-8?b?RnLDqWTDqXJpYyBXZWlzYmVja2Vy?= wrote: > This type conversion is a leftover that got ignored during the kcpustat > conversion to nanosecs, resulting in build breakage with config having > CONFIG_NO_HZ_FULL=y. > > arch/powerpc/kernel/time.c: In function 'running_clock': > arch/powerpc/kernel/time.c:712:2: error: implicit declaration of function 'cputime_to_nsecs' [-Werror=implicit-function-declaration] > return local_clock() - cputime_to_nsecs(kcpustat_this_cpu->cpustat[CPUTIME_STEAL]); > > All we need is to remove it. > > Reported-by: Abdul Haleem > Cc: Michael Ellerman > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Oliver O'Halloran > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Frederic Weisbecker Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/9f3768e02335ddd6ebe1d85d5cb3a6 cheers