diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-04-28 02:24:04 -0500 |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-04-29 09:42:19 -0500 |
commit | cf6cc014270549684873a5972d2595052c468cb6 (patch) | |
tree | 45f654136fdd2a3aa27de90ad838194fa28042f0 /cpu/arm926ejs/cpu.c | |
parent | fd2d2d1025b3cafa1d5846c4e4a8cda63b539160 (diff) | |
download | u-boot-imx-cf6cc014270549684873a5972d2595052c468cb6.zip u-boot-imx-cf6cc014270549684873a5972d2595052c468cb6.tar.gz u-boot-imx-cf6cc014270549684873a5972d2595052c468cb6.tar.bz2 |
85xx: Additional fixes and cleanup of MP code
* adjust __spin_table alignment to match ePAPR v0.94 spec
* loop over all cpus when determing who is up. This fixes an issue if
the "boot cpu" isn't core0. The "boot cpu" will already be in the
cpu_up_mask so there is no harm
* Added some protection in the code to ensure proper behavior. These
changes are explicitly needed but don't hurt:
- Added eieio to ensure the "hot word" of the table is written after
all other table updates have occurred.
- Added isync to ensure we don't prefetch loading of table entries
until we a released
These issues we raised by Dave Liu.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/arm926ejs/cpu.c')
0 files changed, 0 insertions, 0 deletions