Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2207674imm; Thu, 19 Jul 2018 15:26:11 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdhsJ53UoqO7MbKjsEvr3K/XgkACjA29Ndt6OslqZ+dlZl7j1XJiyQ7UVLoYZ1z5NR7BucK X-Received: by 2002:a63:2644:: with SMTP id m65-v6mr11532106pgm.371.1532039171668; Thu, 19 Jul 2018 15:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532039171; cv=none; d=google.com; s=arc-20160816; b=FY2MzxzXFU5vPW4dsMbg6RUpk/+6rIt2S7DaKZvPhAFR3ygLawaDg1Jt6Aa2sK/1UW X0IjbyK/Fq1zxY6NUIxk/D3nwnO10Qr0aEHovwUwvDuZTNdJaNpzos4EvG0cWVakWgH6 qNHn/giI3sRYWXuoisTblPWSGDe3g7C2zcNQ42Dhx3RSCX5g88DhPvFQIC1Y0F4TpTuy mL7/WNPxRBZ2X1tBsFSJ0TW8eYMXatkMYxKl/lOCe6ndmkGALMHpLjLkMSk7X1ibNPKK +GYa8w03bVs6Y8zNyosAq3K39iu8lv2hcKiHtQ1llft7ob9Nk1hNXVBiE1kP6nO3F2+j Zm0A== 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:arc-authentication-results; bh=FmXzt1ncXFyKlgYn73EbfCsCJ+D5mG3Dc1k68163DAU=; b=ABGsdNn0GWY12x9ik/YLi7TtzPd+/VEJ8ZDdLbGUYsP6WjrTa6Gxj6y8MfH+tcc/FB Y2W9/zO58OsCCoJz2yg8j/JX8xS4vl2+gj9J+k32qz1A1LhL7oc5Em7zuNtrDO5sU9rb zSdFVdTVI1QhVi1CO+kEFctBFH0XwbxkBvUwz0lwswaOYi78ffg86CcCYxdhwrBdv39F ouoBPf0630XQtjf/zqRh7rmRnDv95FylfPBN+5y/RbqoKZ4qJbZFPLYnvm5HSRrdvQbP 3emMGjnZ2DSF3ZnTs+e8wfadxCR1r9kakNvq6UNnRIhbeVNaHj+7FxuXgBwPwIJiIjl2 bZFg== 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 f12-v6si257873pgg.653.2018.07.19.15.25.57; Thu, 19 Jul 2018 15:26:11 -0700 (PDT) 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 S1731090AbeGSXJm (ORCPT + 99 others); Thu, 19 Jul 2018 19:09:42 -0400 Received: from terminus.zytor.com ([198.137.202.136]:40795 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727523AbeGSXJm (ORCPT ); Thu, 19 Jul 2018 19:09:42 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id w6JMOASF2438720 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 19 Jul 2018 15:24:10 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w6JMOAkl2438717; Thu, 19 Jul 2018 15:24:10 -0700 Date: Thu, 19 Jul 2018 15:24:10 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Thomas Gleixner Message-ID: Cc: pasha.tatashin@oracle.com, pbonzini@redhat.com, mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com, linux-kernel@vger.kernel.org Reply-To: pasha.tatashin@oracle.com, pbonzini@redhat.com, mingo@kernel.org, hpa@zytor.com, tglx@linutronix.de, linux-kernel@vger.kernel.org In-Reply-To: <20180719205545.16512-6-pasha.tatashin@oracle.com> References: <20180719205545.16512-6-pasha.tatashin@oracle.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/timers] x86/kvmclock: Mark variables __initdata and __ro_after_init Git-Commit-ID: 42f8df935efefba51d0c5321b1325436523e3377 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, DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) 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: 42f8df935efefba51d0c5321b1325436523e3377 Gitweb: https://git.kernel.org/tip/42f8df935efefba51d0c5321b1325436523e3377 Author: Thomas Gleixner AuthorDate: Thu, 19 Jul 2018 16:55:24 -0400 Committer: Thomas Gleixner CommitDate: Fri, 20 Jul 2018 00:02:37 +0200 x86/kvmclock: Mark variables __initdata and __ro_after_init The kvmclock parameter is init data and the other variables are not modified after init. Signed-off-by: Thomas Gleixner Signed-off-by: Pavel Tatashin Acked-by: Paolo Bonzini Cc: steven.sistare@oracle.com Cc: daniel.m.jordan@oracle.com Cc: linux@armlinux.org.uk Cc: schwidefsky@de.ibm.com Cc: heiko.carstens@de.ibm.com Cc: john.stultz@linaro.org Cc: sboyd@codeaurora.org Cc: hpa@zytor.com Cc: douly.fnst@cn.fujitsu.com Cc: peterz@infradead.org Cc: prarit@redhat.com Cc: feng.tang@intel.com Cc: pmladek@suse.com Cc: gnomes@lxorguk.ukuu.org.uk Cc: linux-s390@vger.kernel.org Cc: boris.ostrovsky@oracle.com Cc: jgross@suse.com Link: https://lkml.kernel.org/r/20180719205545.16512-6-pasha.tatashin@oracle.com --- arch/x86/kernel/kvmclock.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/kernel/kvmclock.c b/arch/x86/kernel/kvmclock.c index 4afb03e49a4f..78aec160f5e0 100644 --- a/arch/x86/kernel/kvmclock.c +++ b/arch/x86/kernel/kvmclock.c @@ -32,10 +32,10 @@ #include #include -static int kvmclock __ro_after_init = 1; -static int msr_kvm_system_time = MSR_KVM_SYSTEM_TIME; -static int msr_kvm_wall_clock = MSR_KVM_WALL_CLOCK; -static u64 kvm_sched_clock_offset; +static int kvmclock __initdata = 1; +static int msr_kvm_system_time __ro_after_init = MSR_KVM_SYSTEM_TIME; +static int msr_kvm_wall_clock __ro_after_init = MSR_KVM_WALL_CLOCK; +static u64 kvm_sched_clock_offset __ro_after_init; static int __init parse_no_kvmclock(char *arg) { @@ -50,7 +50,7 @@ early_param("no-kvmclock", parse_no_kvmclock); static u8 hv_clock_mem[PAGE_ALIGN(HV_CLOCK_SIZE)] __aligned(PAGE_SIZE); /* The hypervisor will put information about time periodically here */ -static struct pvclock_vsyscall_time_info *hv_clock; +static struct pvclock_vsyscall_time_info *hv_clock __ro_after_init; static struct pvclock_wall_clock wall_clock; /*