Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751743AbXLDDhg (ORCPT ); Mon, 3 Dec 2007 22:37:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751326AbXLDDh1 (ORCPT ); Mon, 3 Dec 2007 22:37:27 -0500 Received: from gateway-1237.mvista.com ([63.81.120.158]:37348 "EHLO gateway-1237.mvista.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751267AbXLDDh1 (ORCPT ); Mon, 3 Dec 2007 22:37:27 -0500 To: linux-rt-users@vger.kernel.org Cc: linux-arm-kernel@lists.arm.linux.org.uk, linux-kernel Subject: [PATCH -rt] ARM: compile fix for event tracing From: Kevin Hilman Organization: MontaVista Software, Inc. Date: Mon, 03 Dec 2007 19:37:51 -0800 Message-ID: <87fxyjruy8.fsf@vence.hilman.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 719 Lines: 21 The cycles/usecs conversion macros should be dependent on CONFIG_EVENT_TRACE instead of CONFIG_LATENCY_TIMING. Signed-off-by: Kevin Hilman --- a/include/asm-arm/timex.h +++ b/include/asm-arm/timex.h @@ -18,7 +18,7 @@ typedef unsigned long cycles_t; #ifndef mach_read_cycles #define mach_read_cycles() (0) -#ifdef CONFIG_LATENCY_TIMING +#ifdef CONFIG_EVENT_TRACE #define mach_cycles_to_usecs(d) (d) #define mach_usecs_to_cycles(d) (d) #endif -- 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/