diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-23 10:29:31 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-23 10:29:31 -0500 |
commit | 7e3cbc3f774f31ecd88a51edae3d9377f60a4c00 (patch) | |
tree | f5aa6a587ba2cf796d11c4e49682552580ba65a2 /arch/x86/kernel | |
parent | 345077cd98ff5532b2d1158013c3fec7b1ae85ec (diff) | |
parent | f4166c54bfe04f64603974058e44fbd7cfef0ccc (diff) |
Merge branch 'x86/ptrace' into x86/tsc
Conflicts:
arch/x86/kernel/cpu/intel.c
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/cpu/intel.c | 3 | ||||
-rw-r--r-- | arch/x86/kernel/ds.c | 9 | ||||
-rw-r--r-- | arch/x86/kernel/ptrace.c | 9 |
3 files changed, 9 insertions, 12 deletions
diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c index b21c37c060a2..ccfd2047630c 100644 --- a/arch/x86/kernel/cpu/intel.c +++ b/arch/x86/kernel/cpu/intel.c | |||
@@ -324,12 +324,11 @@ static void __cpuinit init_intel(struct cpuinfo_x86 *c) | |||
324 | set_cpu_cap(c, X86_FEATURE_P4); | 324 | set_cpu_cap(c, X86_FEATURE_P4); |
325 | if (c->x86 == 6) | 325 | if (c->x86 == 6) |
326 | set_cpu_cap(c, X86_FEATURE_P3); | 326 | set_cpu_cap(c, X86_FEATURE_P3); |
327 | #endif | ||
327 | 328 | ||
328 | if (cpu_has_bts) | 329 | if (cpu_has_bts) |
329 | ptrace_bts_init_intel(c); | 330 | ptrace_bts_init_intel(c); |
330 | 331 | ||
331 | #endif | ||
332 | |||
333 | if (!cpu_has(c, X86_FEATURE_XTOPOLOGY)) { | 332 | if (!cpu_has(c, X86_FEATURE_XTOPOLOGY)) { |
334 | /* | 333 | /* |
335 | * let's use the legacy cpuid vector 0x1 and 0x4 for topology | 334 | * let's use the legacy cpuid vector 0x1 and 0x4 for topology |
diff --git a/arch/x86/kernel/ds.c b/arch/x86/kernel/ds.c index a2d1176c38ee..d6938d9351cf 100644 --- a/arch/x86/kernel/ds.c +++ b/arch/x86/kernel/ds.c | |||
@@ -847,17 +847,16 @@ void __cpuinit ds_init_intel(struct cpuinfo_x86 *c) | |||
847 | switch (c->x86) { | 847 | switch (c->x86) { |
848 | case 0x6: | 848 | case 0x6: |
849 | switch (c->x86_model) { | 849 | switch (c->x86_model) { |
850 | case 0 ... 0xC: | ||
851 | /* sorry, don't know about them */ | ||
852 | break; | ||
850 | case 0xD: | 853 | case 0xD: |
851 | case 0xE: /* Pentium M */ | 854 | case 0xE: /* Pentium M */ |
852 | ds_configure(&ds_cfg_var); | 855 | ds_configure(&ds_cfg_var); |
853 | break; | 856 | break; |
854 | case 0xF: /* Core2 */ | 857 | default: /* Core2, Atom, ... */ |
855 | case 0x1C: /* Atom */ | ||
856 | ds_configure(&ds_cfg_64); | 858 | ds_configure(&ds_cfg_64); |
857 | break; | 859 | break; |
858 | default: | ||
859 | /* sorry, don't know about them */ | ||
860 | break; | ||
861 | } | 860 | } |
862 | break; | 861 | break; |
863 | case 0xF: | 862 | case 0xF: |
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index 0a6d8c12e10d..06180dff5b2e 100644 --- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c | |||
@@ -929,17 +929,16 @@ void __cpuinit ptrace_bts_init_intel(struct cpuinfo_x86 *c) | |||
929 | switch (c->x86) { | 929 | switch (c->x86) { |
930 | case 0x6: | 930 | case 0x6: |
931 | switch (c->x86_model) { | 931 | switch (c->x86_model) { |
932 | case 0 ... 0xC: | ||
933 | /* sorry, don't know about them */ | ||
934 | break; | ||
932 | case 0xD: | 935 | case 0xD: |
933 | case 0xE: /* Pentium M */ | 936 | case 0xE: /* Pentium M */ |
934 | bts_configure(&bts_cfg_pentium_m); | 937 | bts_configure(&bts_cfg_pentium_m); |
935 | break; | 938 | break; |
936 | case 0xF: /* Core2 */ | 939 | default: /* Core2, Atom, ... */ |
937 | case 0x1C: /* Atom */ | ||
938 | bts_configure(&bts_cfg_core2); | 940 | bts_configure(&bts_cfg_core2); |
939 | break; | 941 | break; |
940 | default: | ||
941 | /* sorry, don't know about them */ | ||
942 | break; | ||
943 | } | 942 | } |
944 | break; | 943 | break; |
945 | case 0xF: | 944 | case 0xF: |