Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764204AbYF0VhN (ORCPT ); Fri, 27 Jun 2008 17:37:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757263AbYF0Vgx (ORCPT ); Fri, 27 Jun 2008 17:36:53 -0400 Received: from mx1.redhat.com ([66.187.233.31]:59039 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763929AbYF0Vgw (ORCPT ); Fri, 27 Jun 2008 17:36:52 -0400 From: Glauber Costa To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, mingo@elte.hu, x86@kernel.org Subject: [PATCH 03/39] use rdtscll in read_current_timer for i386. Date: Fri, 27 Jun 2008 18:34:10 -0300 Message-Id: <1214602486-17080-4-git-send-email-gcosta@redhat.com> X-Mailer: git-send-email 1.5.5.1 In-Reply-To: <1214602486-17080-3-git-send-email-gcosta@redhat.com> References: <1214602486-17080-1-git-send-email-gcosta@redhat.com> <1214602486-17080-2-git-send-email-gcosta@redhat.com> <1214602486-17080-3-git-send-email-gcosta@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 816 Lines: 28 This way we achieve the same code for both arches. Signed-off-by: Glauber Costa --- arch/x86/lib/delay_32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/lib/delay_32.c b/arch/x86/lib/delay_32.c index 54013f8..bf6de05 100644 --- a/arch/x86/lib/delay_32.c +++ b/arch/x86/lib/delay_32.c @@ -98,7 +98,7 @@ void use_tsc_delay(void) int __devinit read_current_timer(unsigned long *timer_val) { if (delay_fn == delay_tsc) { - rdtscl(*timer_val); + rdtscll(*timer_val); return 0; } return -1; -- 1.5.5.1 -- 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/