From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751467AbdBUFif (ORCPT ); Tue, 21 Feb 2017 00:38:35 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:46863 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751199AbdBUFiB (ORCPT ); Tue, 21 Feb 2017 00:38:01 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Tue, 21 Feb 2017 11:10:38 +0530 From: Abdul Haleem To: fweisbec@gmail.com Cc: linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id, linux-kernel@vger.kernel.org, fbarrat@linux.vnet.ibm.com, aneesh.kumar@linux.vnet.ibm.com, Linuxppc-dev , abdul Subject: Re: next-20170220 failed to build on PowerPC Organization: IBM In-Reply-To: References: User-Agent: Roundcube Webmail/1.0.1 X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 17022105-0012-0000-0000-000013B6F87A X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006655; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000204; SDB=6.00824867; UDB=6.00403830; IPR=6.00602323; BA=6.00005159; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00014368; XFM=3.00000011; UTC=2017-02-21 05:37:58 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17022105-0013-0000-0000-00004B97C44D Message-Id: <8c472341719fe124b96de0f7cbfd1961@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-02-21_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1702210056 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017-02-20 16:25, abdul wrote: > Hi, > > next-20170220 fails to build on Power 8 (PowerVM LPAR) with these > errors. > > with same config, next-20170215 builds fine. > > the config file used is attached, by default > CONFIG_VIRT_CPU_ACCOUNTING_NATIVE was not set. > > (X) Simple tick based cputime accounting > ( ) Deterministic task and CPU time accounting > ( ) Full dynticks CPU time accounting > > arch/powerpc/kernel/time.c: In function ‘running_clock’: > arch/powerpc/kernel/time.c:712:25: error: implicit declaration of > function ‘cputime_to_nsecs’ > [-Werror=implicit-function-declaration] > return local_clock() - > cputime_to_nsecs(kcpustat_this_cpu->cpustat[CPUTIME_STEAL]); > ^ > cc1: all warnings being treated as errors > make[1]: *** [arch/powerpc/kernel/time.o] Error 1 > make[1]: *** Waiting for unfinished jobs...., > > Note*: Problem is not seen when CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is > enabled i.e > > ( ) Simple tick based cputime accounting > (X) Deterministic task and CPU time accounting > ( ) Full dynticks CPU time accounting > Bisecting resulted in below commit causing the build break. commit f22d6df0b23e66b6d9058e2570402606a6ad069a Author: Frederic Weisbecker Date: Tue Jan 31 04:09:43 2017 +0100 sched/cputime: Remove jiffies based cputime This cputime_t implementation is now unused, we can remove it. Signed-off-by: Frederic Weisbecker Cc: Benjamin Herrenschmidt Cc: Fenghua Yu Cc: Heiko Carstens Cc: Linus Torvalds Cc: Martin Schwidefsky Cc: Michael Ellerman Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Rik van Riel Cc: Stanislaw Gruszka Cc: Thomas Gleixner Cc: Tony Luck Cc: Wanpeng Li Link: http://lkml.kernel.org/r/1485832191-26889-28-git-send-email-fweisbec@gmail.com Signed-off-by: Ingo Molnar Regard's Abdul Haleem IBM Linux Technology Center.