Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp772026ybc; Tue, 12 Nov 2019 08:59:12 -0800 (PST) X-Google-Smtp-Source: APXvYqxn3ROk9FambgvlV+7iRMZmLF0jhBUABoVbQfMDvkgR/FfZgMDLk4xXccRezqdXH7tS171m X-Received: by 2002:a17:906:c789:: with SMTP id cw9mr29767841ejb.40.1573577952597; Tue, 12 Nov 2019 08:59:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573577952; cv=none; d=google.com; s=arc-20160816; b=qKNloyZc8A146ifAv0w4gCQzqRKNz5usTamZz/sfhSjfAjTMcqeq6lusjPpWUu1e/n qTJAVosnvGDud6QYjEEYoUX1KhJYgmxKQTUZXKMQkMgvFLCqoXlK/NQgF/cYbHuDu6CX 7QJOJZsByB4uBUqhlW2uUWNDZ/zH6sb2D+d2nk6azd4gklk4/m8TJElXads2V+ES7xji wdYbYP22EQNH63tAdoqKz4N1qpzBoa7eqBcdOtM4QWBnqyseGlJ09rHm1Ob78POluimJ UNj63HiT/C+p8RUqMG3ft5PiAofx0lKEGOCNPLBylM3a68Uf1GxfpJduZydt6OaZ6Vf9 A4gA== 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=bhjnVkJf7hPOqi9ZgUYNeMJbY+vN94xFluwTD3zke1CGbHV53yAyf+ROS3K3OKcbDo iToYtr4FtL1GyjleAb6eVOHuNGF8C5GRbC34h4XIJ4kTpr+VDVR2Pk2GChQc+klYUg5w LkjLzWX17TMKss3bwtNOhGNjdjZRrZDL75BHxih7L/urlYVa49kVOnlTqAIJesG3cGkz voHnqIstWLVrRGcgS2WobtrMSCfW9/jPqcyepCHJdhWBNlLd9R7Quw/YFSxvjkWXfavH FFMxMBb6UP2M2PXIfiBp1kVum6hmSQ0/0RpGc1Kut4qViiDcRlk9JW9y6oIXaaKsoida IjpQ== 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 y12si342078ejp.299.2019.11.12.08.58.48; Tue, 12 Nov 2019 08:59:12 -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 S1727598AbfKLQxn (ORCPT + 99 others); Tue, 12 Nov 2019 11:53:43 -0500 Received: from mx2.suse.de ([195.135.220.15]:34320 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727549AbfKLQxi (ORCPT ); Tue, 12 Nov 2019 11:53:38 -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 CB4D3B37C; Tue, 12 Nov 2019 16:53:36 +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 15/33] powerpc/64s/exception: trim unused arguments from KVMTEST macro Date: Tue, 12 Nov 2019 17:52:13 +0100 Message-Id: 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