Always isync after a mtmsr. While perhaps not strictly necessary for PSL_EE

bit banging according to the OEA, it's better to be conservative than
having to continually audit uses of this inline.
This commit is contained in:
Peter Grehan 2004-08-07 00:20:00 +00:00
parent ebcd28e669
commit 1a6f777efe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133239

View File

@ -65,7 +65,7 @@ static __inline void
mtmsr(register_t value)
{
__asm __volatile ("mtmsr %0" :: "r"(value));
__asm __volatile ("mtmsr %0; isync" :: "r"(value));
}
static __inline register_t