Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
R128
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ermine
R128
Commits
5d65131f
Commit
5d65131f
authored
18 years ago
by
Venkatesh Pallipadi
Committed by
Len Brown
18 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ACPI: rename cstate_entry_s to cstate_entry
style change only. Signed-off-by:
Len Brown
<
len.brown@intel.com
>
parent
723fe2ca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/i386/kernel/acpi/cstate.c
+5
-5
5 additions, 5 deletions
arch/i386/kernel/acpi/cstate.c
with
5 additions
and
5 deletions
arch/i386/kernel/acpi/cstate.c
+
5
−
5
View file @
5d65131f
...
...
@@ -47,13 +47,13 @@ EXPORT_SYMBOL(acpi_processor_power_init_bm_check);
/* The code below handles cstate entry with monitor-mwait pair on Intel*/
struct
cstate_entry
_s
{
struct
cstate_entry
{
struct
{
unsigned
int
eax
;
unsigned
int
ecx
;
}
states
[
ACPI_PROCESSOR_MAX_POWER
];
};
static
struct
cstate_entry
_s
*
cpu_cstate_entry
;
/* per CPU ptr */
static
struct
cstate_entry
*
cpu_cstate_entry
;
/* per CPU ptr */
static
short
mwait_supported
[
ACPI_PROCESSOR_MAX_POWER
];
...
...
@@ -71,7 +71,7 @@ static short mwait_supported[ACPI_PROCESSOR_MAX_POWER];
int
acpi_processor_ffh_cstate_probe
(
unsigned
int
cpu
,
struct
acpi_processor_cx
*
cx
,
struct
acpi_power_register
*
reg
)
{
struct
cstate_entry
_s
*
percpu_entry
;
struct
cstate_entry
*
percpu_entry
;
struct
cpuinfo_x86
*
c
=
cpu_data
+
cpu
;
cpumask_t
saved_mask
;
...
...
@@ -136,7 +136,7 @@ EXPORT_SYMBOL_GPL(acpi_processor_ffh_cstate_probe);
void
acpi_processor_ffh_cstate_enter
(
struct
acpi_processor_cx
*
cx
)
{
unsigned
int
cpu
=
smp_processor_id
();
struct
cstate_entry
_s
*
percpu_entry
;
struct
cstate_entry
*
percpu_entry
;
percpu_entry
=
per_cpu_ptr
(
cpu_cstate_entry
,
cpu
);
mwait_idle_with_hints
(
percpu_entry
->
states
[
cx
->
index
].
eax
,
...
...
@@ -150,7 +150,7 @@ static int __init ffh_cstate_init(void)
if
(
c
->
x86_vendor
!=
X86_VENDOR_INTEL
)
return
-
1
;
cpu_cstate_entry
=
alloc_percpu
(
struct
cstate_entry
_s
);
cpu_cstate_entry
=
alloc_percpu
(
struct
cstate_entry
);
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment