diff options
author | John Levon <john.levon@joyent.com> | 2018-02-22 18:05:13 -0800 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2018-03-13 20:33:26 +0000 |
commit | 60f89b42cd13d6888f948d7ffe4edcfa535e02a6 (patch) | |
tree | c60e2fa99bc8572c457a0908105f8570c56b834c /usr/src/uts/intel/asm/htable.h | |
parent | 0e957fcabecc0abb13226b12f474359f4ea711ea (diff) | |
download | illumos-joyent-60f89b42cd13d6888f948d7ffe4edcfa535e02a6.tar.gz |
OS-6546 Use PCID if KPTI is enabled
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Alex Wilson <alex.wilson@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Alex Wilson <alex.wilson@joyent.com>
Diffstat (limited to 'usr/src/uts/intel/asm/htable.h')
-rw-r--r-- | usr/src/uts/intel/asm/htable.h | 15 |
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 |