mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-03 21:01:50 +00:00
[MIPS] Cleanup __emt() a bit.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
c0589f1ece
commit
1bd5e16168
1 changed files with 1 additions and 3 deletions
|
@ -1451,12 +1451,10 @@ static inline void __emt(unsigned int previous)
|
||||||
{
|
{
|
||||||
if ((previous & __EMT_ENABLE))
|
if ((previous & __EMT_ENABLE))
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
" .set noreorder \n"
|
|
||||||
" .set mips32r2 \n"
|
" .set mips32r2 \n"
|
||||||
" .word 0x41600be1 # emt \n"
|
" .word 0x41600be1 # emt \n"
|
||||||
" ehb \n"
|
" ehb \n"
|
||||||
" .set mips0 \n"
|
" .set mips0 \n");
|
||||||
" .set reorder \n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void __ehb(void)
|
static inline void __ehb(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue