commit | 9623b3732d11b0a18d9af3419f680d27ea24b014 | [log] [tgz] |
---|---|---|
author | Catalin Marinas <catalin.marinas@arm.com> | Wed Feb 28 12:30:38 2007 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Fri Mar 02 11:59:00 2007 +0000 |
tree | 9f00b744060872ca3ad1518002f67376d3050d45 | |
parent | 5bfe8cb62127b5eb799f5724764abe914e49860e [diff] |
[ARM] 4241/1: Define mb() as compiler barrier on a uniprocessor system Currently, the mb() is defined as a DMB operation on ARMv6, even for UP systems. This patch defines mb() as a compiler barrier only. For the SMP case, the smp_* variants should be used anyway and the patch defines them as DMB. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>