aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/processor.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-06-17 06:52:15 -0400
committerIngo Molnar <mingo@elte.hu>2009-06-17 06:56:49 -0400
commiteadb8a091b27a840de7450f84ecff5ef13476424 (patch)
tree58c3782d40def63baa8167f3d31e3048cb4c7660 /arch/x86/include/asm/processor.h
parent73874005cd8800440be4299bd095387fff4b90ac (diff)
parent65795efbd380a832ae508b04dba8f8e53f0b84d9 (diff)
Merge branch 'linus' into tracing/hw-breakpoints
Conflicts: arch/x86/Kconfig arch/x86/kernel/traps.c arch/x86/power/cpu.c arch/x86/power/cpu_32.c kernel/Makefile Semantic conflict: arch/x86/kernel/hw_breakpoint.c Merge reason: Resolve the conflicts, move from put_cpu_no_sched() to put_cpu() in arch/x86/kernel/hw_breakpoint.c. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r--arch/x86/include/asm/processor.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index 448b34a8e393..2b03f700d3f2 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -136,7 +136,8 @@ extern struct cpuinfo_x86 boot_cpu_data;
136extern struct cpuinfo_x86 new_cpu_data; 136extern struct cpuinfo_x86 new_cpu_data;
137 137
138extern struct tss_struct doublefault_tss; 138extern struct tss_struct doublefault_tss;
139extern __u32 cleared_cpu_caps[NCAPINTS]; 139extern __u32 cpu_caps_cleared[NCAPINTS];
140extern __u32 cpu_caps_set[NCAPINTS];
140 141
141#ifdef CONFIG_SMP 142#ifdef CONFIG_SMP
142DECLARE_PER_CPU_SHARED_ALIGNED(struct cpuinfo_x86, cpu_info); 143DECLARE_PER_CPU_SHARED_ALIGNED(struct cpuinfo_x86, cpu_info);
@@ -410,9 +411,6 @@ DECLARE_PER_CPU(unsigned long, stack_canary);
410extern unsigned int xstate_size; 411extern unsigned int xstate_size;
411extern void free_thread_xstate(struct task_struct *); 412extern void free_thread_xstate(struct task_struct *);
412extern struct kmem_cache *task_xstate_cachep; 413extern struct kmem_cache *task_xstate_cachep;
413extern void init_scattered_cpuid_features(struct cpuinfo_x86 *c);
414extern unsigned int init_intel_cacheinfo(struct cpuinfo_x86 *c);
415extern unsigned short num_cache_leaves;
416 414
417struct thread_struct { 415struct thread_struct {
418 /* Cached TLS descriptors: */ 416 /* Cached TLS descriptors: */
@@ -428,8 +426,12 @@ struct thread_struct {
428 unsigned short fsindex; 426 unsigned short fsindex;
429 unsigned short gsindex; 427 unsigned short gsindex;
430#endif 428#endif
429#ifdef CONFIG_X86_32
431 unsigned long ip; 430 unsigned long ip;
431#endif
432#ifdef CONFIG_X86_64
432 unsigned long fs; 433 unsigned long fs;
434#endif
433 unsigned long gs; 435 unsigned long gs;
434 /* Hardware debugging registers: */ 436 /* Hardware debugging registers: */
435 unsigned long debugreg[HBP_NUM]; 437 unsigned long debugreg[HBP_NUM];
@@ -835,6 +837,7 @@ extern unsigned int BIOS_revision;
835 837
836/* Boot loader type from the setup header: */ 838/* Boot loader type from the setup header: */
837extern int bootloader_type; 839extern int bootloader_type;
840extern int bootloader_version;
838 841
839extern char ignore_fpu_irq; 842extern char ignore_fpu_irq;
840 843
@@ -895,7 +898,6 @@ static inline void spin_lock_prefetch(const void *x)
895 .vm86_info = NULL, \ 898 .vm86_info = NULL, \
896 .sysenter_cs = __KERNEL_CS, \ 899 .sysenter_cs = __KERNEL_CS, \
897 .io_bitmap_ptr = NULL, \ 900 .io_bitmap_ptr = NULL, \
898 .fs = __KERNEL_PERCPU, \
899} 901}
900 902
901/* 903/*