sh: Conditionalize gUSA support.
commit836624619b98535079053920a29a7e474ac17cbc
authorPaul Mundt <lethal@linux-sh.org>
Fri, 28 Sep 2007 07:04:49 +0000 (28 16:04 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 28 Sep 2007 07:04:49 +0000 (28 16:04 +0900)
treebeb3b4fc1b893b6a422be3645c3611b1c7adb456
parent995bb781d42441ed48517bc7ea6414c3df3386ef
sh: Conditionalize gUSA support.

This conditionalizes gUSA support. gUSA is not supported on
SMP configurations, and it's not necessary there anyways due
to having other atomicity options (ie, movli.l/movco.l).

Anything implementing the LL/SC semantics (all SH-4A CPUs)
can switch to userspace atomicity implementations without
requiring gUSA. This is left default-enabled on all UP so
that glibc doesn't break.

Those that know what they are doing can disable this explicitly.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/kernel/entry-common.S
arch/sh/kernel/process.c
arch/sh/kernel/signal.c