mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 22:20:55 +07:00
[POWERPC] spufs: fix building spufs/spu_save_dump.h
Currently it fails with gcc from sdk 2.1 because of a spec change [1]. Maybe we should start using the definitions from spu_mfcio.h. [1] http://gcc.gnu.org/ml/gcc-patches/2006-11/msg01598.html Signed-off-by: Sebastian Siewior <bigeasy@linux.vnet.ibm.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
cf1d8a8a7b
commit
7a896dc5f4
@ -44,7 +44,7 @@ static inline void save_event_mask(void)
|
||||
* Read the SPU_RdEventMsk channel and save to the LSCSA.
|
||||
*/
|
||||
offset = LSCSA_QW_OFFSET(event_mask);
|
||||
regs_spill[offset].slot[0] = spu_readch(SPU_RdEventStatMask);
|
||||
regs_spill[offset].slot[0] = spu_readch(SPU_RdEventMask);
|
||||
}
|
||||
|
||||
static inline void save_tag_mask(void)
|
||||
|
Loading…
Reference in New Issue
Block a user