]> err.no Git - linux-2.6/blobdiff - arch/sh/Kconfig
sh: Explicit alignment for PAGE_SIZE in copy/clear_page().
[linux-2.6] / arch / sh / Kconfig
index 2dc3b177193c8e9ff72069359498fc888891ca70..f645f8416f1c3c6d28d7177e27ae36d41a5e7eec 100644 (file)
@@ -692,7 +692,7 @@ source "kernel/Kconfig.preempt"
 
 config GUSA
        def_bool y
-       depends on !SMP
+       depends on !SMP && SUPERH32
        help
          This enables support for gUSA (general UserSpace Atomicity).
          This is the default implementation for both UP and non-ll/sc
@@ -704,6 +704,16 @@ config GUSA
          This should only be disabled for special cases where alternate
          atomicity implementations exist.
 
+config GUSA_RB
+       bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
+       depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
+       help
+         Enabling this option will allow the kernel to implement some
+         atomic operations using a software implemention of load-locked/
+         store-conditional (LLSC). On machines which do not have hardware
+         LLSC, this should be more efficient than the other alternative of
+         disabling insterrupts around the atomic sequence.
+
 endmenu
 
 menu "Boot options"