From: Austin Clements Date: Thu, 2 Sep 2010 18:08:45 +0000 (-0400) Subject: Remove unused nop_pause function. X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=d599aa2e40fc116d84c609358a9fdc51824b621d;p=cs3210-lab1.git Remove unused nop_pause function. --- diff --git a/runoff b/runoff index 345fb2e..2b48cd5 100755 --- a/runoff +++ b/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 diff --git a/x86.h b/x86.h index 33e240d..5a59cc2 100644 --- a/x86.h +++ b/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)