From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161800AbcFGVtl (ORCPT ); Tue, 7 Jun 2016 17:49:41 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35361 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161277AbcFGVtj (ORCPT ); Tue, 7 Jun 2016 17:49:39 -0400 From: Sudip Mukherjee To: Christian Borntraeger , Cornelia Huck , Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Martin Schwidefsky , Heiko Carstens Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, kvm@vger.kernel.org, Sudip Mukherjee Subject: [PATCH] KVM: s390: fix build failure Date: Tue, 7 Jun 2016 22:49:30 +0100 Message-Id: <1465336170-23064-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org etr_ptff definitions are moved and renamed but we missed updating them here and as a result s390 defconfig and allmodconfig was failing with the error: arch/s390/kvm/kvm-s390.c:230:45: error: 'ETR_PTFF_QAF' undeclared Fixes: cc8f94656487 ("s390/time: move PTFF definitions") Signed-off-by: Sudip Mukherjee --- s390 defconfig build log is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/135776067 arch/s390/kvm/kvm-s390.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index fa51aef..3039eaf 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include @@ -227,7 +227,9 @@ static void kvm_s390_cpu_feat_init(void) } if (test_facility(28)) /* TOD-clock steering */ - etr_ptff(kvm_s390_available_subfunc.ptff, ETR_PTFF_QAF); + ptff(kvm_s390_available_subfunc.ptff, + sizeof(kvm_s390_available_subfunc.ptff), + PTFF_QAF); if (test_facility(17)) { /* MSA */ __cpacf_query(CPACF_KMAC, kvm_s390_available_subfunc.kmac); -- 1.9.1