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
bf0d326f
Commit
bf0d326f
authored
Feb 26, 2004
by
Andrew Morton
Committed by
Greg Kroah-Hartman
Feb 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix x86_64 build for sys_device_register rename
fix x86_64 build for sys_device_register rename
parent
3a540b9d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
arch/x86_64/kernel/mce.c
arch/x86_64/kernel/mce.c
+1
-1
arch/x86_64/kernel/time.c
arch/x86_64/kernel/time.c
+1
-1
No files found.
arch/x86_64/kernel/mce.c
View file @
bf0d326f
...
@@ -448,7 +448,7 @@ static __init int mce_init_device(void)
...
@@ -448,7 +448,7 @@ static __init int mce_init_device(void)
return
-
EIO
;
return
-
EIO
;
err
=
sysdev_class_register
(
&
mce_sysclass
);
err
=
sysdev_class_register
(
&
mce_sysclass
);
if
(
!
err
)
if
(
!
err
)
err
=
sys
_device
_register
(
&
device_mce
);
err
=
sys
dev
_register
(
&
device_mce
);
if
(
!
err
)
{
if
(
!
err
)
{
/* could create per CPU objects, but is not worth it. */
/* could create per CPU objects, but is not worth it. */
sysdev_create_file
(
&
device_mce
,
&
attr_disabled_banks
);
sysdev_create_file
(
&
device_mce
,
&
attr_disabled_banks
);
...
...
arch/x86_64/kernel/time.c
View file @
bf0d326f
...
@@ -788,7 +788,7 @@ static int time_init_device(void)
...
@@ -788,7 +788,7 @@ static int time_init_device(void)
{
{
int
error
=
sysdev_class_register
(
&
pit_sysclass
);
int
error
=
sysdev_class_register
(
&
pit_sysclass
);
if
(
!
error
)
if
(
!
error
)
error
=
sys
_device
_register
(
&
device_i8253
);
error
=
sys
dev
_register
(
&
device_i8253
);
return
error
;
return
error
;
}
}
...
...
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