From bdcab87b1c54f61dbc0a77648fee4c2b17964d5c Mon Sep 17 00:00:00 2001
From: Paul Mundt <lethal@linux-sh.org>
Date: Mon, 4 Aug 2008 14:09:15 +0900
Subject: sh: define GENERIC_LOCKBREAK.

Needed for fixing up the __raw_spin_is_contended() reference which
results in a build error.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
 arch/sh/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'arch/sh/Kconfig')

diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index 0ae541107f3f..37b91017818d 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -63,6 +63,10 @@ config GENERIC_TIME
 config GENERIC_CLOCKEVENTS
 	def_bool n
 
+config GENERIC_LOCKBREAK
+	def_bool y
+	depends on SMP && PREEMPT
+
 config SYS_SUPPORTS_PM
 	bool
 
-- 
cgit v1.2.3