commit | b3ca80935100af47f226be439cb266378dab7bf7 | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Tue Sep 27 21:45:38 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Sep 28 07:46:41 2005 -0700 |
tree | 8633bb97958ccc79a5f7a96d391aaca1bab926cd | |
parent | ed90fb4a19956cece996eb1d26534f592918730e [diff] |
[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 <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>