aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r--include/asm-x86_64/processor.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/asm-x86_64/processor.h b/include/asm-x86_64/processor.h
index a1645bbc03bd..19525175b91c 100644
--- a/include/asm-x86_64/processor.h
+++ b/include/asm-x86_64/processor.h
@@ -389,17 +389,6 @@ static inline void prefetchw(void *x)
389 389
390#define cpu_relax() rep_nop() 390#define cpu_relax() rep_nop()
391 391
392/*
393 * NSC/Cyrix CPU indexed register access macros
394 */
395
396#define getCx86(reg) ({ outb((reg), 0x22); inb(0x23); })
397
398#define setCx86(reg, data) do { \
399 outb((reg), 0x22); \
400 outb((data), 0x23); \
401} while (0)
402
403static inline void serialize_cpu(void) 392static inline void serialize_cpu(void)
404{ 393{
405 __asm__ __volatile__ ("cpuid" : : : "ax", "bx", "cx", "dx"); 394 __asm__ __volatile__ ("cpuid" : : : "ax", "bx", "cx", "dx");