summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/tte.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-12-29 08:37:11 +0000
committerjake <jake@FreeBSD.org>2002-12-29 08:37:11 +0000
commit62270dd68932a971fd4b2a64a006c3b13705bbd2 (patch)
treea85884d43e4a6ffe6f908b60687ff63c9d339a1d /sys/sparc64/include/tte.h
parent2257328643d73694512ad1b67819eda596ca0968 (diff)
downloadFreeBSD-src-62270dd68932a971fd4b2a64a006c3b13705bbd2.zip
FreeBSD-src-62270dd68932a971fd4b2a64a006c3b13705bbd2.tar.gz
Use memset instead of __builtin_memset. Apparently there's an inline
memset in libkern which causes problems; why that's there is beyond me.
Diffstat (limited to 'sys/sparc64/include/tte.h')
-rw-r--r--sys/sparc64/include/tte.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/include/tte.h b/sys/sparc64/include/tte.h
index c2b38b1..bc81cb0 100644
--- a/sys/sparc64/include/tte.h
+++ b/sys/sparc64/include/tte.h
@@ -108,7 +108,7 @@
(kernel_pmap) : \
(PHYS_TO_VM_PAGE(pmap_kextract((vm_offset_t)(tp)))->md.pmap))
#define TTE_ZERO(tp) \
- __builtin_memset(tp, 0, sizeof(*tp))
+ memset(tp, 0, sizeof(*tp))
struct pmap;
OpenPOWER on IntegriCloud