Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758311AbZFVPw7 (ORCPT ); Mon, 22 Jun 2009 11:52:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755302AbZFVPwv (ORCPT ); Mon, 22 Jun 2009 11:52:51 -0400 Received: from rcsinet11.oracle.com ([148.87.113.123]:27934 "EHLO rgminet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754325AbZFVPwu (ORCPT ); Mon, 22 Jun 2009 11:52:50 -0400 Message-ID: <4A3FA899.3040402@oracle.com> Date: Mon, 22 Jun 2009 08:51:53 -0700 From: Randy Dunlap Organization: Oracle Linux Engineering User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, LKML , Jon Masters , Andrew Morton Subject: [PATCH -next] hwlat: depends on RING_BUFFER (build fix) References: <20090622181920.496d160e.sfr@canb.auug.org.au> In-Reply-To: <20090622181920.496d160e.sfr@canb.auug.org.au> Content-Type: text/plain; charset=ISO-8859-5 Content-Transfer-Encoding: 7bit X-Source-IP: abhmt002.oracle.com [141.146.116.11] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090201.4A3FA89B.02A6:SCFSTAT5015188,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1541 Lines: 41 From: Randy Dunlap hwlat_detector build fails because it uses ring_buffer interfaces without depending on RING_BUFFER. hwlat_detector.c:(.text+0x8d906): undefined reference to `ring_buffer_reset' hwlat_detector.c:(.text+0x8d98c): undefined reference to `ring_buffer_free' hwlat_detector.c:(.text+0x8dd16): undefined reference to `__ring_buffer_alloc' hwlat_detector.c:(.text+0x8df15): undefined reference to `ring_buffer_free' hwlat_detector.c:(.text+0x8e100): undefined reference to `ring_buffer_write' hwlat_detector.c:(.text+0x8e239): undefined reference to `ring_buffer_consume' hwlat_detector.c:(.text+0x8e2ac): undefined reference to `ring_buffer_event_data' Signed-off-by: Randy Dunlap Cc: Jon Masters --- drivers/misc/Kconfig | 1 + 1 file changed, 1 insertion(+) --- linux-next-20090622.orig/drivers/misc/Kconfig +++ linux-next-20090622/drivers/misc/Kconfig @@ -79,6 +79,7 @@ config IBM_ASM config HWLAT_DETECTOR tristate "Testing module to detect hardware-induced latencies" depends on DEBUG_FS + depends on RING_BUFFER default m ---help--- A simple hardware latency detector. Use this module to detect -- ~Randy LPC 2009, Sept. 23-25, Portland, Oregon http://linuxplumbersconf.org/2009/ -- 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/