summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/asm/htable.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/asm/htable.h')
-rw-r--r--usr/src/uts/intel/asm/htable.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/usr/src/uts/intel/asm/htable.h b/usr/src/uts/intel/asm/htable.h
index dd1d72a3c1..2601111c6d 100644
--- a/usr/src/uts/intel/asm/htable.h
+++ b/usr/src/uts/intel/asm/htable.h
@@ -22,6 +22,8 @@
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ *
+ * Copyright 2018 Joyent, Inc.
*/
#ifndef _ASM_HTABLE_H
@@ -36,8 +38,6 @@ extern "C" {
#if !defined(__lint) && defined(__GNUC__)
-#if defined(__i386) || defined(__amd64)
-
/*
* This set of atomic operations are designed primarily
* for some ia32 hat layer operations.
@@ -83,17 +83,6 @@ atomic_dec16(uint16_t *addr)
: "cc");
}
-extern __GNU_INLINE void
-mmu_tlbflush_entry(caddr_t addr)
-{
- __asm__ __volatile__(
- "invlpg %0"
- : "=m" (*addr)
- : "m" (*addr));
-}
-
-#endif /* __i386 || __amd64 */
-
#endif /* !__lint && __GNUC__ */
#ifdef __cplusplus