Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755253AbbGFPm0 (ORCPT ); Mon, 6 Jul 2015 11:42:26 -0400 Received: from terminus.zytor.com ([198.137.202.10]:49312 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755149AbbGFPmF (ORCPT ); Mon, 6 Jul 2015 11:42:05 -0400 Date: Mon, 6 Jul 2015 08:41:06 -0700 From: tip-bot for Andy Lutomirski Message-ID: Cc: luto@amacapital.net, bp@alien8.de, lenb@kernel.org, linux-kernel@vger.kernel.org, ray.huang@amd.com, brgerst@gmail.com, torvalds@linux-foundation.org, tglx@linutronix.de, bp@suse.de, kvm@vger.kernel.org, ralf@linux-mips.org, dvlasenk@redhat.com, mingo@kernel.org, john.stultz@linaro.org, peterz@infradead.org, luto@kernel.org, hpa@zytor.com Reply-To: luto@amacapital.net, bp@alien8.de, linux-kernel@vger.kernel.org, lenb@kernel.org, torvalds@linux-foundation.org, ray.huang@amd.com, brgerst@gmail.com, tglx@linutronix.de, bp@suse.de, kvm@vger.kernel.org, ralf@linux-mips.org, john.stultz@linaro.org, peterz@infradead.org, dvlasenk@redhat.com, mingo@kernel.org, luto@kernel.org, hpa@zytor.com In-Reply-To: <6abfa3ef80534b5d73898a48c4d25e069303cbe5.1434501121.git.luto@kernel.org> References: <6abfa3ef80534b5d73898a48c4d25e069303cbe5.1434501121.git.luto@kernel.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/asm] x86/asm/tsc: Remove the rdtscp() and rdtscpll() macros Git-Commit-ID: ec69de52c648b1d9416a810943e68dbe9fe519f4 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2214 Lines: 58 Commit-ID: ec69de52c648b1d9416a810943e68dbe9fe519f4 Gitweb: http://git.kernel.org/tip/ec69de52c648b1d9416a810943e68dbe9fe519f4 Author: Andy Lutomirski AuthorDate: Thu, 25 Jun 2015 18:43:59 +0200 Committer: Ingo Molnar CommitDate: Mon, 6 Jul 2015 15:23:26 +0200 x86/asm/tsc: Remove the rdtscp() and rdtscpll() macros They have no users. Leave native_read_tscp() which seems potentially useful despite also having no callers. Signed-off-by: Andy Lutomirski Signed-off-by: Borislav Petkov Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Huang Rui Cc: John Stultz Cc: Len Brown Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Ralf Baechle Cc: Thomas Gleixner Cc: kvm ML Link: http://lkml.kernel.org/r/6abfa3ef80534b5d73898a48c4d25e069303cbe5.1434501121.git.luto@kernel.org Signed-off-by: Ingo Molnar --- arch/x86/include/asm/msr.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm/msr.h index 7273b74..626f781 100644 --- a/arch/x86/include/asm/msr.h +++ b/arch/x86/include/asm/msr.h @@ -192,15 +192,6 @@ do { \ #define rdtscl(low) \ ((low) = (u32)native_read_tsc()) -#define rdtscp(low, high, aux) \ -do { \ - unsigned long long _val = native_read_tscp(&(aux)); \ - (low) = (u32)_val; \ - (high) = (u32)(_val >> 32); \ -} while (0) - -#define rdtscpll(val, aux) (val) = native_read_tscp(&(aux)) - /* * 64-bit version of wrmsr_safe(): */ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/