Remove unused nop_pause function.

This commit is contained in:
Austin Clements 2010-09-02 14:08:45 -04:00
parent d8828817d7
commit d599aa2e40
2 changed files with 2 additions and 6 deletions

2
runoff
View file

@ -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
View file

@ -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)