Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7e3cbc3f
Commit
7e3cbc3f
authored
Dec 23, 2008
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'x86/ptrace' into x86/tsc
Conflicts: arch/x86/kernel/cpu/intel.c
parents
345077cd
f4166c54
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
+9
-12
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/cpu/intel.c
+1
-2
arch/x86/kernel/ds.c
arch/x86/kernel/ds.c
+4
-5
arch/x86/kernel/ptrace.c
arch/x86/kernel/ptrace.c
+4
-5
No files found.
arch/x86/kernel/cpu/intel.c
View file @
7e3cbc3f
...
...
@@ -324,12 +324,11 @@ static void __cpuinit init_intel(struct cpuinfo_x86 *c)
set_cpu_cap
(
c
,
X86_FEATURE_P4
);
if
(
c
->
x86
==
6
)
set_cpu_cap
(
c
,
X86_FEATURE_P3
);
#endif
if
(
cpu_has_bts
)
ptrace_bts_init_intel
(
c
);
#endif
if
(
!
cpu_has
(
c
,
X86_FEATURE_XTOPOLOGY
))
{
/*
* let's use the legacy cpuid vector 0x1 and 0x4 for topology
...
...
arch/x86/kernel/ds.c
View file @
7e3cbc3f
...
...
@@ -847,17 +847,16 @@ void __cpuinit ds_init_intel(struct cpuinfo_x86 *c)
switch
(
c
->
x86
)
{
case
0x6
:
switch
(
c
->
x86_model
)
{
case
0
...
0xC
:
/* sorry, don't know about them */
break
;
case
0xD
:
case
0xE
:
/* Pentium M */
ds_configure
(
&
ds_cfg_var
);
break
;
case
0xF
:
/* Core2 */
case
0x1C
:
/* Atom */
default:
/* Core2, Atom, ... */
ds_configure
(
&
ds_cfg_64
);
break
;
default:
/* sorry, don't know about them */
break
;
}
break
;
case
0xF
:
...
...
arch/x86/kernel/ptrace.c
View file @
7e3cbc3f
...
...
@@ -929,17 +929,16 @@ void __cpuinit ptrace_bts_init_intel(struct cpuinfo_x86 *c)
switch
(
c
->
x86
)
{
case
0x6
:
switch
(
c
->
x86_model
)
{
case
0
...
0xC
:
/* sorry, don't know about them */
break
;
case
0xD
:
case
0xE
:
/* Pentium M */
bts_configure
(
&
bts_cfg_pentium_m
);
break
;
case
0xF
:
/* Core2 */
case
0x1C
:
/* Atom */
default:
/* Core2, Atom, ... */
bts_configure
(
&
bts_cfg_core2
);
break
;
default:
/* sorry, don't know about them */
break
;
}
break
;
case
0xF
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment