diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-06-08 01:35:22 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-06-08 01:35:22 +0200 |
commit | 72ba3571a3166ca69d28ccebf547675711bd800c (patch) | |
tree | 046ea9b3ab0716b977f23ace9fef885ca9492e24 /sys/src/9/kw | |
parent | 0a2b418535915c6954fa9df575d71fb04171bb34 (diff) |
kernel: remove _xinc()/_xdec()
as with the Block refcount changes, _xinc() and _xdec() arent
used anymore, so remove them.
architecure can still define ainc()/adec() when it needs them.
Diffstat (limited to 'sys/src/9/kw')
-rw-r--r-- | sys/src/9/kw/arch.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/sys/src/9/kw/arch.c b/sys/src/9/kw/arch.c index 85ef31835..fc1734b63 100644 --- a/sys/src/9/kw/arch.c +++ b/sys/src/9/kw/arch.c @@ -176,28 +176,6 @@ userureg(Ureg* ureg) * atomic ops * make sure that we don't drag in the C library versions */ - -long -_xdec(long *p) -{ - int s, v; - - s = splhi(); - v = --*p; - splx(s); - return v; -} - -void -_xinc(long *p) -{ - int s; - - s = splhi(); - ++*p; - splx(s); -} - int ainc(int *p) { |