projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[POWERPC] celleb: Fix parsing of machine type hack command line option
[powerpc.git]
/
drivers
/
acpi
/
processor_throttling.c
diff --git
a/drivers/acpi/processor_throttling.c
b/drivers/acpi/processor_throttling.c
index
0ec7dcd
..
b334860
100644
(file)
--- a/
drivers/acpi/processor_throttling.c
+++ b/
drivers/acpi/processor_throttling.c
@@
-41,9
+41,8
@@
#define ACPI_PROCESSOR_COMPONENT 0x01000000
#define ACPI_PROCESSOR_CLASS "processor"
#define ACPI_PROCESSOR_COMPONENT 0x01000000
#define ACPI_PROCESSOR_CLASS "processor"
-#define ACPI_PROCESSOR_DRIVER_NAME "ACPI Processor Driver"
#define _COMPONENT ACPI_PROCESSOR_COMPONENT
#define _COMPONENT ACPI_PROCESSOR_COMPONENT
-ACPI_MODULE_NAME("
acpi_processor")
+ACPI_MODULE_NAME("
processor_throttling");
/* --------------------------------------------------------------------------
Throttling Control
/* --------------------------------------------------------------------------
Throttling Control
@@
-125,7
+124,7
@@
int acpi_processor_set_throttling(struct acpi_processor *pr, int state)
/* Used to clear all duty_value bits */
duty_mask = pr->throttling.state_count - 1;
/* Used to clear all duty_value bits */
duty_mask = pr->throttling.state_count - 1;
- duty_mask <<= acpi_
fadt
.duty_offset;
+ duty_mask <<= acpi_
gbl_FADT
.duty_offset;
duty_mask = ~duty_mask;
}
duty_mask = ~duty_mask;
}
@@
-208,7
+207,7
@@
int acpi_processor_get_throttling_info(struct acpi_processor *pr)
return 0;
}
return 0;
}
- pr->throttling.state_count = 1 << acpi_
fadt
.duty_width;
+ pr->throttling.state_count = 1 << acpi_
gbl_FADT
.duty_width;
/*
* Compute state values. Note that throttling displays a linear power/
/*
* Compute state values. Note that throttling displays a linear power/