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
bad4bd7f
Commit
bad4bd7f
authored
Feb 17, 2004
by
Andi Kleen
Committed by
Stephen Hemminger
Feb 17, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Allow P4 oprofile code for x86-64
P4 support was previously ifdefed out for x86-64, remove that.
parent
bd31fffe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
arch/i386/oprofile/nmi_int.c
arch/i386/oprofile/nmi_int.c
+0
-7
No files found.
arch/i386/oprofile/nmi_int.c
View file @
bad4bd7f
...
@@ -295,8 +295,6 @@ struct oprofile_operations nmi_ops = {
...
@@ -295,8 +295,6 @@ struct oprofile_operations nmi_ops = {
};
};
#if !defined(CONFIG_X86_64)
static
int
__init
p4_init
(
void
)
static
int
__init
p4_init
(
void
)
{
{
__u8
cpu_model
=
current_cpu_data
.
x86_model
;
__u8
cpu_model
=
current_cpu_data
.
x86_model
;
...
@@ -347,9 +345,6 @@ static int __init ppro_init(void)
...
@@ -347,9 +345,6 @@ static int __init ppro_init(void)
return
1
;
return
1
;
}
}
#endif
/* !CONFIG_X86_64 */
/* in order to get driverfs right */
/* in order to get driverfs right */
static
int
using_nmi
;
static
int
using_nmi
;
...
@@ -381,7 +376,6 @@ int __init nmi_init(struct oprofile_operations ** ops)
...
@@ -381,7 +376,6 @@ int __init nmi_init(struct oprofile_operations ** ops)
}
}
break
;
break
;
#if !defined(CONFIG_X86_64)
case
X86_VENDOR_INTEL
:
case
X86_VENDOR_INTEL
:
switch
(
family
)
{
switch
(
family
)
{
/* Pentium IV */
/* Pentium IV */
...
@@ -400,7 +394,6 @@ int __init nmi_init(struct oprofile_operations ** ops)
...
@@ -400,7 +394,6 @@ int __init nmi_init(struct oprofile_operations ** ops)
return
-
ENODEV
;
return
-
ENODEV
;
}
}
break
;
break
;
#endif
/* !CONFIG_X86_64 */
default:
default:
return
-
ENODEV
;
return
-
ENODEV
;
...
...
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