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
c78874ac
Commit
c78874ac
authored
Jan 09, 2003
by
Dominik Brodowski
Committed by
Kai Germaschewski
Jan 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] cpufreq: #defines update
Make gcc-2.91.66 happy. Noted by Andrew Morton - thanks.
parent
2878bb16
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
kernel/cpufreq.c
kernel/cpufreq.c
+4
-4
No files found.
kernel/cpufreq.c
View file @
c78874ac
...
...
@@ -734,8 +734,8 @@ static inline void cpufreq_sysctl_exit(void)
}
#else
#define cpufreq_sysctl_init()
#define cpufreq_sysctl_exit()
#define cpufreq_sysctl_init()
do {} while(0)
#define cpufreq_sysctl_exit()
do {} while(0)
#endif
/* CONFIG_SYSCTL */
#endif
/* CONFIG_CPU_FREQ_24_API */
...
...
@@ -946,7 +946,7 @@ static inline void adjust_jiffies(unsigned long val, struct cpufreq_freqs *ci)
loops_per_jiffy
=
cpufreq_scale
(
l_p_j_ref
,
l_p_j_ref_freq
,
ci
->
new
);
}
#else
#define adjust_jiffies(
...
)
#define adjust_jiffies(
x...) do {} while (0
)
#endif
...
...
@@ -1131,6 +1131,6 @@ int cpufreq_restore(void)
}
EXPORT_SYMBOL_GPL
(
cpufreq_restore
);
#else
#define cpufreq_restore()
#define cpufreq_restore()
do {} while (0)
#endif
/* CONFIG_PM */
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