Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5421746imu; Tue, 13 Nov 2018 06:24:21 -0800 (PST) X-Google-Smtp-Source: AJdET5eRpmvT9O9RakaQwmkH3nz65J35i+fYQiKNjLGFLl63PjK6n7sUzi7MavAt83V2RSh39jpc X-Received: by 2002:a17:902:e081:: with SMTP id cb1-v6mr5266029plb.206.1542119061154; Tue, 13 Nov 2018 06:24:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542119061; cv=none; d=google.com; s=arc-20160816; b=m9aoGaC7Zt9u31SlPRNjRktqtHEcK0oCDzUfzqrrQHZC/UDLxRPDJ2TqvAoGLBpEX4 wru4Bg0Jm0W/kvaQYJamjk02W7hMxCTfQd6ianmRL9Zmc7bISm/63aAJiFyHwqhwAc2B dcbcqYGWHmxDak9iGexg+5xZSCq0LYaNzD7Ty/5kKuL7V4tOtnA1vmDvFDTW/nuRfolM l6PjCl2fNNP/Er789YzbnPdjY14Lz7btmkdUL/Md+PFUwyFdOalel+RHmk9aWpyEPPJh G+lwTJW5K9y6yURt5oxybBJHeFfjiRx4hRPtNLnrwwYTAqa0EdbgtIDXHQWL8R+2tcq3 yZZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date; bh=6ZexQ9o9G0zA9BP80oMYZUR9sVqqzQYiDNVvaoXIqQA=; b=kYK+hIx3T4h7JZesT04dtXCOn+OVn/pGMvXFQUldfUm0tpnqN75tZeGWGDDnFQmAX0 SzyCBzKgcy6eTrsQEGlV8czX+2cD1IcU+8QzI7dwE+jqJ98DB0kaLCeEVinGCRDu8gI7 uexWOvmAqvkXcAr/thjziS69c7aZKn39c4CAuVYo8hBSUPjZ9zby0VlGcYeDWy9nO2JT OjqROf37rDAFaxKeil78lTBZlyQ/OebMlxtacn5Oh2ji6TDQeak8Y3/mx1fu5QhYOyVw OHHGnxNA7myOSO1SwVAVdWzpBNjwd3cbcMDVFh2V1uVClJWwdEKR39ZkJ+THyJqdinnm 4vzw== 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 1-v6si20947885plu.228.2018.11.13.06.23.56; Tue, 13 Nov 2018 06:24:21 -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 S1731600AbeKNAVB (ORCPT + 99 others); Tue, 13 Nov 2018 19:21:01 -0500 Received: from terminus.zytor.com ([198.137.202.136]:53059 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731118AbeKNAVA (ORCPT ); Tue, 13 Nov 2018 19:21:00 -0500 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id wADEMVTe4170791 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 13 Nov 2018 06:22:31 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id wADEMVmT4170788; Tue, 13 Nov 2018 06:22:31 -0800 Date: Tue, 13 Nov 2018 06:22:31 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Borislav Petkov Message-ID: Cc: linux-kernel@vger.kernel.org, bp@suse.de, x86@kernel.org, mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com Reply-To: mingo@kernel.org, x86@kernel.org, bp@suse.de, linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@zytor.com In-Reply-To: <20181110141647.GA20073@zn.tnic> References: <20181110141647.GA20073@zn.tnic> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/cleanups] x86/traps: Complete prototype declarations Git-Commit-ID: 95715a3f0e4f0abc4749c6a4fdf2c08c3ff18450 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 95715a3f0e4f0abc4749c6a4fdf2c08c3ff18450 Gitweb: https://git.kernel.org/tip/95715a3f0e4f0abc4749c6a4fdf2c08c3ff18450 Author: Borislav Petkov AuthorDate: Mon, 12 Nov 2018 13:20:36 +0100 Committer: Borislav Petkov CommitDate: Tue, 13 Nov 2018 15:16:50 +0100 x86/traps: Complete prototype declarations ... with proper variable names. No functional changes. Signed-off-by: Borislav Petkov Cc: Link: https://lkml.kernel.org/r/20181110141647.GA20073@zn.tnic --- arch/x86/include/asm/traps.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/arch/x86/include/asm/traps.h b/arch/x86/include/asm/traps.h index afbc87206886..877afdedbbc5 100644 --- a/arch/x86/include/asm/traps.h +++ b/arch/x86/include/asm/traps.h @@ -61,34 +61,34 @@ asmlinkage void xen_machine_check(void); asmlinkage void xen_simd_coprocessor_error(void); #endif -dotraplinkage void do_divide_error(struct pt_regs *, long); -dotraplinkage void do_debug(struct pt_regs *, long); -dotraplinkage void do_nmi(struct pt_regs *, long); -dotraplinkage void do_int3(struct pt_regs *, long); -dotraplinkage void do_overflow(struct pt_regs *, long); -dotraplinkage void do_bounds(struct pt_regs *, long); -dotraplinkage void do_invalid_op(struct pt_regs *, long); -dotraplinkage void do_device_not_available(struct pt_regs *, long); -dotraplinkage void do_coprocessor_segment_overrun(struct pt_regs *, long); -dotraplinkage void do_invalid_TSS(struct pt_regs *, long); -dotraplinkage void do_segment_not_present(struct pt_regs *, long); -dotraplinkage void do_stack_segment(struct pt_regs *, long); +dotraplinkage void do_divide_error(struct pt_regs *regs, long error_code); +dotraplinkage void do_debug(struct pt_regs *regs, long error_code); +dotraplinkage void do_nmi(struct pt_regs *regs, long error_code); +dotraplinkage void do_int3(struct pt_regs *regs, long error_code); +dotraplinkage void do_overflow(struct pt_regs *regs, long error_code); +dotraplinkage void do_bounds(struct pt_regs *regs, long error_code); +dotraplinkage void do_invalid_op(struct pt_regs *regs, long error_code); +dotraplinkage void do_device_not_available(struct pt_regs *regs, long error_code); +dotraplinkage void do_coprocessor_segment_overrun(struct pt_regs *regs, long error_code); +dotraplinkage void do_invalid_TSS(struct pt_regs *regs, long error_code); +dotraplinkage void do_segment_not_present(struct pt_regs *regs, long error_code); +dotraplinkage void do_stack_segment(struct pt_regs *regs, long error_code); #ifdef CONFIG_X86_64 -dotraplinkage void do_double_fault(struct pt_regs *, long); +dotraplinkage void do_double_fault(struct pt_regs *regs, long error_code); #endif -dotraplinkage void do_general_protection(struct pt_regs *, long); -dotraplinkage void do_page_fault(struct pt_regs *, unsigned long); -dotraplinkage void do_spurious_interrupt_bug(struct pt_regs *, long); -dotraplinkage void do_coprocessor_error(struct pt_regs *, long); -dotraplinkage void do_alignment_check(struct pt_regs *, long); +dotraplinkage void do_general_protection(struct pt_regs *regs, long error_code); +dotraplinkage void do_page_fault(struct pt_regs *regs, unsigned long error_code); +dotraplinkage void do_spurious_interrupt_bug(struct pt_regs *regs, long error_code); +dotraplinkage void do_coprocessor_error(struct pt_regs *regs, long error_code); +dotraplinkage void do_alignment_check(struct pt_regs *regs, long error_code); #ifdef CONFIG_X86_MCE -dotraplinkage void do_machine_check(struct pt_regs *, long); +dotraplinkage void do_machine_check(struct pt_regs *regs, long error_code); #endif -dotraplinkage void do_simd_coprocessor_error(struct pt_regs *, long); +dotraplinkage void do_simd_coprocessor_error(struct pt_regs *regs, long error_code); #ifdef CONFIG_X86_32 -dotraplinkage void do_iret_error(struct pt_regs *, long); +dotraplinkage void do_iret_error(struct pt_regs *regs, long error_code); #endif -dotraplinkage void do_mce(struct pt_regs *, long); +dotraplinkage void do_mce(struct pt_regs *regs, long error_code); static inline int get_si_code(unsigned long condition) {