diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2011-04-06 14:46:37 -0500 |
---|---|---|
committer | Patrick Williams <iawillia@us.ibm.com> | 2011-04-06 14:46:37 -0500 |
commit | 596ea665bcc5b5953cfd1fc67584ef7934f7fc5c (patch) | |
tree | 824496a313e609447a4a9df77856e08990779cfc /src | |
parent | 6f0629f322bd46e0df2b7d77e65f7d54584f5fa9 (diff) | |
download | talos-hostboot-596ea665bcc5b5953cfd1fc67584ef7934f7fc5c.tar.gz talos-hostboot-596ea665bcc5b5953cfd1fc67584ef7934f7fc5c.zip |
Fix size mismatch on store of 'kernel_other_thread_spinlock.
Diffstat (limited to 'src')
-rw-r--r-- | src/kernel/start.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/start.S b/src/kernel/start.S index 9ddc05ecb..7a41139c7 100644 --- a/src/kernel/start.S +++ b/src/kernel/start.S @@ -14,10 +14,10 @@ _start: ori r2, r2, kernel_other_thread_spinlock@l lwsync 1: - lwarx r3, 0, r2 + ldarx r3, 0, r2 cmpwi r3, 0 ;// Non-zero means this thread wasn't first. bnel cr0, _other_thread_spinlock - stwcx. r4, 0, r2 ;// Attempt to store 2. + stdcx. r4, 0, r2 ;// Attempt to store 2. bne 1b ;// Loop until sucessful at stwcx. isync |