Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5350170ybc; Wed, 27 Nov 2019 02:41:26 -0800 (PST) X-Google-Smtp-Source: APXvYqwNHLS8LFzrsprxLtramMMYAzZ7KB17SXEGu3KIjukWnUJJf1TVvTtDFRt/g5U6Gu0xwsc4 X-Received: by 2002:a05:6402:70e:: with SMTP id w14mr30828133edx.95.1574851286007; Wed, 27 Nov 2019 02:41:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574851286; cv=none; d=google.com; s=arc-20160816; b=h9G2M5gM7fepq8TCUouyZb5sYHiuEdXtsg9Wi5q56307DsCHvpRj4EyiCCV9Pid4iR NUdWPKr75e4lqlUOmn/E7GSMQ6V9Ig70Rk0cPF4KClQH8cse50GJ4YHVKBRiETyfjruf 2u7Kg5cEEdIuupxx/Vgiai9Lqou+OaWygSJQlMsq8oSshXlb2xWo+SWJAKu07EvYq78U Xi2cqwhKlq7GsCLg8F3tJS5fkAaSjJg6a6vF0VrKbfpM7BB5NCTRNuVwXSWuBg40lpBQ oT8hOebYny7R+8/QBDmOSvuDBXFHlcXv6Rnn9FPQayKals5sIKN8N6xhidg6hQeCJ7Y2 499g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=LX/W4Gd4ONMPVUB/4xspolE/QYcmeqqrG0uh964v20Y=; b=Ox/1wOrCIhJqLrPD86wBPQFxuZvRX1aaAidNE/elc1tKUXkusGFq9guoztX/uexvSQ iPA+2Z/KAZ8SCAJ0WRB7FH8mAmqzN+V9djdVsDGpnXyoNP3iIyc0DjxyZj8+hSFG4KuR 2dt39xOLuRrUJDe1+eF+1TRQTdB49kEMC6mihJN2QEfSR8DA8JsHhHPgJzlH4wcCNm9k BIkPetoXOOYV9ujCa02s7PZTmQ02gsqp0DGTC4K3ySBHh/CMLJMh5leMiwnKmpMjc2IX V+a9rAafXu7TN8iZLcDK0hku1WIcgYee47dS5bRpH21yzD5P4MaRxVQrXzKv8ONCgLHD qZ+A== 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 n26si2807503ejz.245.2019.11.27.02.41.01; Wed, 27 Nov 2019 02:41:25 -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 S1727164AbfK0Kjp (ORCPT + 99 others); Wed, 27 Nov 2019 05:39:45 -0500 Received: from mx2.suse.de ([195.135.220.15]:54738 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727110AbfK0Kjn (ORCPT ); Wed, 27 Nov 2019 05:39:43 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 5EC68B463; Wed, 27 Nov 2019 10:39:41 +0000 (UTC) From: Michal Suchanek To: linuxppc-dev@lists.ozlabs.org Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Oleg Nesterov , Alexander Viro , Christian Brauner , Nicholas Piggin , Allison Randal , "Naveen N. Rao" , Michal Suchanek , Thomas Gleixner , Breno Leitao , Christophe Leroy , Claudio Carvalho , Russell Currey , Greg Kroah-Hartman , Mahesh Salgaonkar , Arnd Bergmann , Geert Uytterhoeven , Firoz Khan , Dmitry Vyukov , Masahiro Yamada , Hari Bathini , Andrew Donnellan , Nicolai Stange , Valentin Schneider , Diana Craciun , Daniel Axtens , Michael Neuling , Gustavo Romero , Mathieu Malaterre , "Steven Rostedt" , "Eric W. Biederman" , Heiko Carstens , David Howells , Brajeswar Ghosh , Jagadeesh Pagadala , David Hildenbrand , Andrew Morton , Madhavan Srinivasan , linux-kernel@vger.kernel.org Subject: [PATCH v2 rebase 15/34] powerpc/64s/exception: trim unused arguments from KVMTEST macro Date: Wed, 27 Nov 2019 11:38:51 +0100 Message-Id: <9459f86200a79e7cf79b4e9772bb99cbf39e602d.1574803685.git.msuchanek@suse.de> X-Mailer: git-send-email 2.23.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Nicholas Piggin Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index abf26db36427..9fa71d51ecf4 100644 --- a/arch/powerpc/kernel/exceptions-64s.S +++ b/arch/powerpc/kernel/exceptions-64s.S @@ -224,7 +224,7 @@ do_define_int n #define kvmppc_interrupt kvmppc_interrupt_pr #endif -.macro KVMTEST name, hsrr, n +.macro KVMTEST name lbz r10,HSTATE_IN_GUEST(r13) cmpwi r10,0 bne \name\()_kvm @@ -293,7 +293,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_HAS_PPR) .endm #else -.macro KVMTEST name, hsrr, n +.macro KVMTEST name .endm .macro GEN_KVM name .endm @@ -437,7 +437,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_CFAR) DEFINE_FIXED_SYMBOL(\name\()_common_real) \name\()_common_real: .if IKVM_REAL - KVMTEST \name IHSRR IVEC + KVMTEST \name .endif ld r10,PACAKMSR(r13) /* get MSR value for kernel */ @@ -460,7 +460,7 @@ DEFINE_FIXED_SYMBOL(\name\()_common_real) DEFINE_FIXED_SYMBOL(\name\()_common_virt) \name\()_common_virt: .if IKVM_VIRT - KVMTEST \name IHSRR IVEC + KVMTEST \name 1: .endif .endif /* IVIRT */ @@ -1595,7 +1595,7 @@ INT_DEFINE_END(system_call) GET_PACA(r13) std r10,PACA_EXGEN+EX_R10(r13) INTERRUPT_TO_KERNEL - KVMTEST system_call EXC_STD 0xc00 /* uses r10, branch to system_call_kvm */ + KVMTEST system_call /* uses r10, branch to system_call_kvm */ mfctr r9 #else mr r9,r13 -- 2.23.0