[PATCH -rt] hwlat_detector: add dependence of RING_BUFFER

From: Wu Zhangjin
Date: Fri Jun 26 2009 - 03:47:59 EST


From: Wu Zhangjin <wuzj@xxxxxxxxxx>

driver/misc/hwlat_detector.c needs the ring_buffer_* functions, which
are defined in kernel/trace/ring_buffer.c, so, hwlat_detector is
dependent on RING_BUFFER.

Signed-off-by: Wu Zhangjin <wuzj@xxxxxxxxxx>
---
drivers/misc/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 174b99e..557cbb1 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -78,7 +78,7 @@ config IBM_ASM

config HWLAT_DETECTOR
tristate "Testing module to detect hardware-induced latencies"
- depends on DEBUG_FS
+ depends on DEBUG_FS && RING_BUFFER
default m
---help---
A simple hardware latency detector. Use this module to detect
--
1.6.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/