From: Catalin Marinas Date: Wed, 28 Feb 2007 11:30:38 +0000 (+0100) Subject: [ARM] 4241/1: Define mb() as compiler barrier on a uniprocessor system X-Git-Tag: v2.6.21-rc3~102^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9623b3732d11b0a18d9af3419f680d27ea24b014;p=pandora-kernel.git [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 Signed-off-by: Russell King --- Reading git-diff-tree failed