[PowerPC] Fix invalid asm in trap code
In this context, 0 actually means 0 (i.e. this is a li instruction). While most assemblers will ignore this, I did have a compile failure at one point when using an external toolchain. In the future, we should use the li syntax to make this clearer. Sponsored by: Tag1 Consulting, Inc.
This commit is contained in:
parent
71d104536b
commit
64cc3b0c28
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=361542
@ -426,7 +426,7 @@ instr_sec_hash:
|
||||
bne do_isi /* if so, go to ISI interrupt */
|
||||
mfspr %r2, SPR_HASH2 /* get the second pointer */
|
||||
ori %r3, %r3, 0x0040 /* change the compare value */
|
||||
addi %r1, %r0, 8 /* load 8 for counter */
|
||||
addi %r1, 0, 8 /* load 8 for counter */
|
||||
addi %r2, %r2, -8 /* pre dec for update on load */
|
||||
b im0 /* try second hash */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user