summaryrefslogtreecommitdiff
path: root/sys/src/9/omap
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2021-10-11 11:52:37 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2021-10-11 11:52:37 +0000
commit5484260b42b0a4061444670e812aff3973cc79fb (patch)
treebc5116c516fae0c36b4eeb0bbc48cf977bba6c18 /sys/src/9/omap
parent3e98132fc613f8bbe0124225adc92a0fec2546e6 (diff)
kernel: move waserror() macro to port/portfns.h
Diffstat (limited to 'sys/src/9/omap')
-rw-r--r--sys/src/9/omap/fns.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/src/9/omap/fns.h b/sys/src/9/omap/fns.h
index 1515f4fba..b778b6455 100644
--- a/sys/src/9/omap/fns.h
+++ b/sys/src/9/omap/fns.h
@@ -160,8 +160,6 @@ void vunmap(void*, usize);
#define getpgcolor(a) 0
#define kmapinval()
-#define waserror() (up->nerrlab++, setlabel(&up->errlab[up->nerrlab-1]))
-
#define KADDR(pa) ((void*)(KZERO | ((uintptr)(pa) & ~KSEGM)))
#define PADDR(va) (PHYSDRAM | ((uintptr)(va) & ~KSEGM))