mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
intel_idle: mark states tables with __initdata tag
States tables are only accessed during driver initialization so they can be marked with __initdata tag. Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
eba682a5ae
commit
9d046ccb98
1 changed files with 5 additions and 5 deletions
|
@ -123,7 +123,7 @@ static struct cpuidle_state *cpuidle_state_table;
|
||||||
* which is also the index into the MWAIT hint array.
|
* which is also the index into the MWAIT hint array.
|
||||||
* Thus C0 is a dummy.
|
* Thus C0 is a dummy.
|
||||||
*/
|
*/
|
||||||
static struct cpuidle_state nehalem_cstates[] = {
|
static struct cpuidle_state nehalem_cstates[] __initdata = {
|
||||||
{
|
{
|
||||||
.name = "C1-NHM",
|
.name = "C1-NHM",
|
||||||
.desc = "MWAIT 0x00",
|
.desc = "MWAIT 0x00",
|
||||||
|
@ -156,7 +156,7 @@ static struct cpuidle_state nehalem_cstates[] = {
|
||||||
.enter = NULL }
|
.enter = NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct cpuidle_state snb_cstates[] = {
|
static struct cpuidle_state snb_cstates[] __initdata = {
|
||||||
{
|
{
|
||||||
.name = "C1-SNB",
|
.name = "C1-SNB",
|
||||||
.desc = "MWAIT 0x00",
|
.desc = "MWAIT 0x00",
|
||||||
|
@ -196,7 +196,7 @@ static struct cpuidle_state snb_cstates[] = {
|
||||||
.enter = NULL }
|
.enter = NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct cpuidle_state ivb_cstates[] = {
|
static struct cpuidle_state ivb_cstates[] __initdata = {
|
||||||
{
|
{
|
||||||
.name = "C1-IVB",
|
.name = "C1-IVB",
|
||||||
.desc = "MWAIT 0x00",
|
.desc = "MWAIT 0x00",
|
||||||
|
@ -236,7 +236,7 @@ static struct cpuidle_state ivb_cstates[] = {
|
||||||
.enter = NULL }
|
.enter = NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct cpuidle_state hsw_cstates[] = {
|
static struct cpuidle_state hsw_cstates[] __initdata = {
|
||||||
{
|
{
|
||||||
.name = "C1-HSW",
|
.name = "C1-HSW",
|
||||||
.desc = "MWAIT 0x00",
|
.desc = "MWAIT 0x00",
|
||||||
|
@ -297,7 +297,7 @@ static struct cpuidle_state hsw_cstates[] = {
|
||||||
.enter = NULL }
|
.enter = NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct cpuidle_state atom_cstates[] = {
|
static struct cpuidle_state atom_cstates[] __initdata = {
|
||||||
{
|
{
|
||||||
.name = "C1E-ATM",
|
.name = "C1E-ATM",
|
||||||
.desc = "MWAIT 0x00",
|
.desc = "MWAIT 0x00",
|
||||||
|
|
Loading…
Add table
Reference in a new issue