Remove unused nop_pause function.
This commit is contained in:
parent
d8828817d7
commit
d599aa2e40
2 changed files with 2 additions and 6 deletions
2
runoff
2
runoff
|
@ -192,6 +192,8 @@ do
|
||||||
if [ "x$defs" != "x$uses" ]; then
|
if [ "x$defs" != "x$uses" ]; then
|
||||||
echo $i $defs
|
echo $i $defs
|
||||||
echo $uses |fmt -29 | sed 's/^/ /'
|
echo $uses |fmt -29 | sed 's/^/ /'
|
||||||
|
# else
|
||||||
|
# echo $i defined but not used >&2
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
) >refs
|
) >refs
|
||||||
|
|
6
x86.h
6
x86.h
|
@ -137,12 +137,6 @@ xchg(volatile uint *addr, uint newval)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
|
||||||
nop_pause(void)
|
|
||||||
{
|
|
||||||
asm volatile("pause" : :);
|
|
||||||
}
|
|
||||||
|
|
||||||
//PAGEBREAK!
|
//PAGEBREAK!
|
||||||
static inline void
|
static inline void
|
||||||
lcr0(uint val)
|
lcr0(uint val)
|
||||||
|
|
Loading…
Reference in a new issue