linux-mips
[Top] [All Lists]

[PATCH 1/6] Add HARDWARE_WATCHPOINTS configure option.

To: linux-mips@linux-mips.org
Subject: [PATCH 1/6] Add HARDWARE_WATCHPOINTS configure option.
From: David Daney <ddaney@avtrex.com>
Date: Mon, 28 Apr 2008 18:29:13 -0700
Cc: Linux kernel <linux-kernel@vger.kernel.org>
In-reply-to: <48167832.3090103@avtrex.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <48167832.3090103@avtrex.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.12 (X11/20080226)
Add HARDWARE_WATCHPOINTS configure option.

This is automatically set for all MIPS32 and MIPS64 processors.

Signed-off-by: David Daney <ddaney@avtrex.com>
---
arch/mips/Kconfig |    7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 8724ed3..a52d3a8 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1344,6 +1344,13 @@ config CPU_SUPPORTS_32BIT_KERNEL
config CPU_SUPPORTS_64BIT_KERNEL
        bool

+#
+# Set to y for ptrace access to watch registers.
+#
+config HARDWARE_WATCHPOINTS
+       bool
+       default y if CPU_MIPS32 || CPU_MIPS64
+
menu "Kernel type"

choice
--
1.5.5


<Prev in Thread] Current Thread [Next in Thread>