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
18da5f32
Commit
18da5f32
authored
May 09, 2003
by
Jonathan Corbet
Committed by
Greg Kroah-Hartman
May 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] cpufreq class fix
parent
55f3c6b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
include/linux/cpu.h
include/linux/cpu.h
+1
-0
kernel/cpufreq.c
kernel/cpufreq.c
+2
-0
No files found.
include/linux/cpu.h
View file @
18da5f32
...
...
@@ -29,6 +29,7 @@ struct cpu {
};
extern
int
register_cpu
(
struct
cpu
*
,
int
,
struct
node
*
);
extern
struct
class
cpu_class
;
/* Stop CPUs going up and down. */
extern
struct
semaphore
cpucontrol
;
...
...
kernel/cpufreq.c
View file @
18da5f32
...
...
@@ -22,6 +22,7 @@
#include <linux/spinlock.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/cpu.h>
/**
* The "cpufreq driver" - the arch- or hardware-dependend low
...
...
@@ -115,6 +116,7 @@ static void cpufreq_remove_dev (struct class_device * dev);
extern
struct
device_class
cpu_devclass
;
static
struct
class_interface
cpufreq_interface
=
{
.
class
=
&
cpu_class
,
.
add
=
&
cpufreq_add_dev
,
.
remove
=
&
cpufreq_remove_dev
,
};
...
...
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