mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 21:31:51 +00:00
cpuilde / ACPI: remove time from acpi_processor_cx structure
Remove the time field as it is not used. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
This commit is contained in:
parent
53b70951d9
commit
aa713cc3b2
2 changed files with 0 additions and 3 deletions
|
@ -863,7 +863,6 @@ static int acpi_idle_enter_simple(struct cpuidle_device *dev,
|
||||||
current_thread_info()->status |= TS_POLLING;
|
current_thread_info()->status |= TS_POLLING;
|
||||||
|
|
||||||
lapic_timer_state_broadcast(pr, cx, 0);
|
lapic_timer_state_broadcast(pr, cx, 0);
|
||||||
cx->time += idle_time;
|
|
||||||
return index;
|
return index;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -982,7 +981,6 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev,
|
||||||
current_thread_info()->status |= TS_POLLING;
|
current_thread_info()->status |= TS_POLLING;
|
||||||
|
|
||||||
lapic_timer_state_broadcast(pr, cx, 0);
|
lapic_timer_state_broadcast(pr, cx, 0);
|
||||||
cx->time += idle_time;
|
|
||||||
return index;
|
return index;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,6 @@ struct acpi_processor_cx {
|
||||||
u8 index;
|
u8 index;
|
||||||
u32 latency;
|
u32 latency;
|
||||||
u32 power;
|
u32 power;
|
||||||
u64 time;
|
|
||||||
u8 bm_sts_skip;
|
u8 bm_sts_skip;
|
||||||
char desc[ACPI_CX_DESC_LEN];
|
char desc[ACPI_CX_DESC_LEN];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue