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
Kirill Smelkov
linux
Commits
4a3978cf
Commit
4a3978cf
authored
Apr 07, 2003
by
Alan Cox
Committed by
Linus Torvalds
Apr 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] read extended cpu revision data
(Dave Jones)
parent
3255802c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
arch/i386/kernel/cpu/common.c
arch/i386/kernel/cpu/common.c
+4
-0
No files found.
arch/i386/kernel/cpu/common.c
View file @
4a3978cf
...
@@ -217,6 +217,10 @@ void __init generic_identify(struct cpuinfo_x86 * c)
...
@@ -217,6 +217,10 @@ void __init generic_identify(struct cpuinfo_x86 * c)
c
->
x86_capability
[
4
]
=
excap
;
c
->
x86_capability
[
4
]
=
excap
;
c
->
x86
=
(
tfms
>>
8
)
&
15
;
c
->
x86
=
(
tfms
>>
8
)
&
15
;
c
->
x86_model
=
(
tfms
>>
4
)
&
15
;
c
->
x86_model
=
(
tfms
>>
4
)
&
15
;
if
(
c
->
x86
==
0xf
)
{
c
->
x86
+=
(
tfms
>>
20
)
&
0xff
;
c
->
x86_model
+=
((
tfms
>>
16
)
&
0xF
)
<<
4
;
}
c
->
x86_mask
=
tfms
&
15
;
c
->
x86_mask
=
tfms
&
15
;
}
else
{
}
else
{
/* Have CPUID level 0 only - unheard of */
/* Have CPUID level 0 only - unheard of */
...
...
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