summaryrefslogtreecommitdiff
path: root/sys/src/9/omap/arch.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-06-08 01:35:22 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-06-08 01:35:22 +0200
commit72ba3571a3166ca69d28ccebf547675711bd800c (patch)
tree046ea9b3ab0716b977f23ace9fef885ca9492e24 /sys/src/9/omap/arch.c
parent0a2b418535915c6954fa9df575d71fb04171bb34 (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/omap/arch.c')
-rw-r--r--sys/src/9/omap/arch.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/sys/src/9/omap/arch.c b/sys/src/9/omap/arch.c
index 0563ca543..a96904dee 100644
--- a/sys/src/9/omap/arch.c
+++ b/sys/src/9/omap/arch.c
@@ -178,28 +178,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)
{