Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5681616yba; Thu, 11 Apr 2019 03:32:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDdzge4r3yd5YN2yi0eaJS2weUJ6oiZE20gKLRI3xfRcrTkknYrgrt7Y3JLCxOwgHtNrXL X-Received: by 2002:a62:2046:: with SMTP id g67mr48503452pfg.121.1554978749873; Thu, 11 Apr 2019 03:32:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554978749; cv=none; d=google.com; s=arc-20160816; b=IbgWrKVdF+Wb7z0yL4hcsSWn0/m8sNgqlEY8OJiFjo8+TJDPgXRx9UObHoNs2eiFG2 zG70/9FYpmlbyViVZQhtdh0k9EUJNu5sfHQ0lhNmuKEqOB1Z0s7Z3DNc0iAtvdOLEFw6 yZ0XUIVOP0coURTtUqiK+xevlXRq9iOWYp+JG2gYnqoFpxSbQBRAT+BucVBtytbyCT+N 2Xkt/jGsbIblMSmmP7meERpCDyHAVSneO7LBX3hVk6vQPlfFWlwBoXpMxmegw9lp2d9b LEYxo/8PVdXk1AYJ+zCCyCFc4gZ8OVT8LslyKwqR0qJ2E1ayR0ZyeQ1y8DE6eK9gRraj 2aJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=XbUcWh1uuDNPxQAfg4+iv2XRcqP/X0fXbj2X8IVZYNo=; b=JIE4bts51B5mo4GsJuvkfJSf7QbuOJv4ZjS3iP4fAiH1i7dNPjr8GjFLWv1Bn6mKyM mX8tIhP3FahcHFidl6C1rl8lEef1AZ2d+P5R9ana1YmTbnWx8nanQMkNobUrrDHEkPkq YkzOYR1Cmn/ARz64nrU5g0kCUvtAotX3Bio/hwO8Goag19MCsHltrtf50LmM4yW2R6XX nBZIJfVzHZk/BS/2x/MKOiwdXCrAzxDcUMpeTgC8npYYBZhvtMPvPXFP5WPs0bwQgVYm 8TdAFkWxlzQG4EKkTZ8DueWFBEU24Zc/zqdhTsVMdmTO0Mfb6OjJEDfpmfEK4WG1XYr/ yf1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@codeweavers.com header.s=6377696661 header.b=cyk1gKwo; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codeweavers.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 129si37631676pfz.159.2019.04.11.03.32.13; Thu, 11 Apr 2019 03:32:29 -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; dkim=fail (test mode) header.i=@codeweavers.com header.s=6377696661 header.b=cyk1gKwo; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codeweavers.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726784AbfDKKa7 (ORCPT + 99 others); Thu, 11 Apr 2019 06:30:59 -0400 Received: from mail.codeweavers.com ([173.240.25.211]:55698 "EHLO mail.codeweavers.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726690AbfDKKau (ORCPT ); Thu, 11 Apr 2019 06:30:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codeweavers.com; s=6377696661; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=XbUcWh1uuDNPxQAfg4+iv2XRcqP/X0fXbj2X8IVZYNo=; b=cyk1gKwogwUPAO/KxbHz4A9uK GIlBdkwVRzjBHL272ZvQZaLvcd2scmFc2UYVEr1y/VTSvETzsd6n3g+qA2RWeI0s7Gnwffry+SCgj C8lSeKhAGJrdYVL7ZJDTsLroVypw5qXgrH2rOcl4txEpxlQ1ObUeKIf91LnsaV1xddCFg=; Received: from vpn42.vpn.mn.codeweavers.com ([10.69.139.42] helo=merlot) by mail.codeweavers.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hEWgg-0000my-7i; Thu, 11 Apr 2019 05:12:07 -0500 Received: from daviesh by merlot with local (Exim 4.90_1) (envelope-from ) id 1hEWgf-0002cp-7P; Thu, 11 Apr 2019 11:12:05 +0100 From: Huw Davies To: linux kernel Cc: Thomas Gleixner , Andy Lutomirski Subject: [PATCH 1/3] x86/vdso: Remove unused 'mask' member Date: Thu, 11 Apr 2019 11:12:03 +0100 Message-Id: <20190411101205.10006-2-huw@codeweavers.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411101205.10006-1-huw@codeweavers.com> References: <20190411101205.10006-1-huw@codeweavers.com> X-Spam-Score: -106.0 X-Spam-Report: Spam detection software, running on the system "mail.codeweavers.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The 'mask' member of struct vsyscall_gtod_data is unused, so remove it. Its use was removed in commit a51e996d48ac (x86/vdso: Enforce 64bit clocksource). Cc: Thomas Gleixner Cc: Andy Lutomirski Signed-off-by: Huw Davies --- arch/x86/entry/vsyscall/vsyscall_gtod.c | 1 - arch/x86/include/asm/vg [...] Content analysis details: (-106.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -100 USER_IN_WHITELIST From: address is in the user's white-list -6.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 'mask' member of struct vsyscall_gtod_data is unused, so remove it. Its use was removed in commit a51e996d48ac (x86/vdso: Enforce 64bit clocksource). Cc: Thomas Gleixner Cc: Andy Lutomirski Signed-off-by: Huw Davies --- arch/x86/entry/vsyscall/vsyscall_gtod.c | 1 - arch/x86/include/asm/vgtod.h | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/x86/entry/vsyscall/vsyscall_gtod.c b/arch/x86/entry/vsyscall/vsyscall_gtod.c index cfcdba082feb..e4ee83018279 100644 --- a/arch/x86/entry/vsyscall/vsyscall_gtod.c +++ b/arch/x86/entry/vsyscall/vsyscall_gtod.c @@ -43,7 +43,6 @@ void update_vsyscall(struct timekeeper *tk) /* copy vsyscall data */ vdata->vclock_mode = vclock_mode; vdata->cycle_last = tk->tkr_mono.cycle_last; - vdata->mask = tk->tkr_mono.mask; vdata->mult = tk->tkr_mono.mult; vdata->shift = tk->tkr_mono.shift; diff --git a/arch/x86/include/asm/vgtod.h b/arch/x86/include/asm/vgtod.h index 913a133f8e6f..daf69a25e46b 100644 --- a/arch/x86/include/asm/vgtod.h +++ b/arch/x86/include/asm/vgtod.h @@ -40,7 +40,6 @@ struct vsyscall_gtod_data { int vclock_mode; u64 cycle_last; - u64 mask; u32 mult; u32 shift; -- 2.17.1