Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4649458ybc; Tue, 26 Nov 2019 12:17:56 -0800 (PST) X-Google-Smtp-Source: APXvYqxu+KLW21UfqMnj+xW3TZyxmPVfTLwm0ibZcGn//JVIv7wNAPXizD0DupW1Lw3NOfn2GhW3 X-Received: by 2002:a50:ac2c:: with SMTP id v41mr27079137edc.11.1574799476088; Tue, 26 Nov 2019 12:17:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574799476; cv=none; d=google.com; s=arc-20160816; b=PijRwyDEbNTnxJLrbnjfOzXDMUQ8aEoIS0VrzrhfT3TgPwNBjzBRlKrjM7/ZK10b72 hNALHJi/fubG10ChUmduSE0WkHUyyCsjMTZvMqN9qSSEtx9kAaHdvHvHxp0sRjE0f8gP T01vAm0RyYb2P5yVLHbeJ9dSOWV7pUPnNbyOrjdZDnV9RKpyIeg3u6iXhNvhPA4bqlPU /2tyoeDN1qiISNe083RQfX0haK0YKUK/T9lHbhkTXN8xVHVGBqIITa2h+kkq4PPm5lps DZroN/HS4uQFS781N/qnA1O4wUrTwGCvo7fgg5hZmrHYAGbml98/+ieroaBhwaLeOI4i 9LUQ== 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=AWbBi6bD5GABN4HZ8S+4DrZnFvHiRNFZ43HL67yQwAYh3XACSFZzLngcpC3S5UVlb7 uXoKvl6074opOSp1ES7Y6rDKO9Ve60gmeE9m2AdwIsL1W9WOf/6g9dx+EnYlP/xpoUsO ws5S/JM0LmRzs1H565ALKZmz4+jmvsDwaySatYEGBf9RfhP86pOHbWNWxoncXRvIm6Hp WDPSWSwTy3OyccL7/wze6rVXbf7PFGaOfJDT/mwRwSXOdJcMYVQtpmFEaBfGj2qu+HlK 8Fxu9eiBf+Bt7JLgu+JTS7dfmY2yliXiEQ7Jnp65iqm/VftC5xQXoIXd7VVVdGkk2lPI Pgjg== 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 n19si681848edb.312.2019.11.26.12.17.32; Tue, 26 Nov 2019 12:17:56 -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 S1727662AbfKZUPl (ORCPT + 99 others); Tue, 26 Nov 2019 15:15:41 -0500 Received: from mx2.suse.de ([195.135.220.15]:46912 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727304AbfKZUOX (ORCPT ); Tue, 26 Nov 2019 15:14:23 -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 CDE80B129; Tue, 26 Nov 2019 20:14:21 +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 15/35] powerpc/64s/exception: trim unused arguments from KVMTEST macro Date: Tue, 26 Nov 2019 21:13:29 +0100 Message-Id: <85621a78ab8ced8a83dd5f41d5702b57692eb2e7.1574798487.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