diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2021-10-11 11:52:37 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2021-10-11 11:52:37 +0000 |
commit | 5484260b42b0a4061444670e812aff3973cc79fb (patch) | |
tree | bc5116c516fae0c36b4eeb0bbc48cf977bba6c18 /sys/src/9/sgi | |
parent | 3e98132fc613f8bbe0124225adc92a0fec2546e6 (diff) |
kernel: move waserror() macro to port/portfns.h
Diffstat (limited to 'sys/src/9/sgi')
-rw-r--r-- | sys/src/9/sgi/fns.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/src/9/sgi/fns.h b/sys/src/9/sgi/fns.h index 8ae58e938..56e8c358c 100644 --- a/sys/src/9/sgi/fns.h +++ b/sys/src/9/sgi/fns.h @@ -63,8 +63,6 @@ void wrcount(ulong); #define PTR2UINT(p) ((uintptr)(p)) #define UINT2PTR(i) ((void*)(i)) -#define waserror() (up->nerrlab++, setlabel(&up->errlab[up->nerrlab-1])) - #define KADDR(a) ((void*)((ulong)(a)|KSEG0)) #define PADDR(a) ((ulong)(a)&~KSEGM) |