From: Anton Blanchard Date: Wed, 28 Sep 2005 04:45:38 +0000 (-0700) Subject: [PATCH] ppc64: Add missing barrier() in kexec code X-Git-Tag: v2.6.14-rc3~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3ca80935100af47f226be439cb266378dab7bf7;p=pandora-kernel.git [PATCH] ppc64: Add missing barrier() in kexec code Mikey and I were testing kexec and hit a lockup. It turns out gcc 4.0 optimises the kexec_prepare_cpus loop so we avoid reloading paca.hw_cpu_id. A gcc barrier() fixes the problem. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed