Skip to content

Commit

Permalink
Remove unused nop_pause function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Clements committed Sep 2, 2010
1 parent d882881 commit d599aa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions runoff
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d599aa2

Please sign in to comment.