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
|
||||
echo $i $defs
|
||||
echo $uses |fmt -29 | sed 's/^/ /'
|
||||
# else
|
||||
# echo $i defined but not used >&2
|
||||
fi
|
||||
done
|
||||
) >refs
|
||||
|
|
6
x86.h
6
x86.h
|
@ -137,12 +137,6 @@ xchg(volatile uint *addr, uint newval)
|
|||
return result;
|
||||
}
|
||||
|
||||
static inline void
|
||||
nop_pause(void)
|
||||
{
|
||||
asm volatile("pause" : :);
|
||||
}
|
||||
|
||||
//PAGEBREAK!
|
||||
static inline void
|
||||
lcr0(uint val)
|
||||
|
|
Loading…
Reference in a new issue