]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
Move struct desc_table_reg definition to processor.h
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 21 Nov 2013 21:34:04 +0000 (22:34 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 21 Nov 2013 21:34:04 +0000 (22:34 +0100)
Fits better into this file than the generic types.h.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/include/asm/percpu.h
hypervisor/arch/x86/include/asm/processor.h
hypervisor/arch/x86/include/asm/types.h

index fb5179a364a4a84eba96185017b60a504c790eec..f9728e337a4339328c73dece3f5dc55c0e328c68 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <asm/types.h>
 #include <asm/paging.h>
+#include <asm/processor.h>
 
 #define NUM_ENTRY_REGS                 6
 
index 7ffb7bafbdfad8cd8cbe840222188b9a8330abc3..79ee69768981200aa6bc3a7d0db6d3bf92aa967b 100644 (file)
@@ -99,6 +99,11 @@ struct registers {
        unsigned long rax;
 };
 
+struct desc_table_reg {
+       u16 limit;
+       u64 base;
+} __attribute__((packed));
+
 static unsigned long __force_order;
 
 static inline void cpu_relax(void)
index 0da0777248ff2066ad89d1f491b124d8a2327adf..adabc1dc7c76c72691d0a246e6f4cbbc49028903 100644 (file)
@@ -45,11 +45,6 @@ typedef u64 __u64;
 
 typedef enum { true=1, false=0 } bool;
 
-struct desc_table_reg {
-       u16 limit;
-       u64 base;
-} __attribute__((packed));
-
 struct cpu_set {
        unsigned long max_cpu_id;
        /* Note: The bitmap is supposed to be extended by embedding this