aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorH. Peter Anvin <[email protected]>2011-04-06 13:10:02 -0700
committerH. Peter Anvin <[email protected]>2011-04-06 13:10:02 -0700
commit4da9484bdece39ab0b098fa711e095e3e9fc8684 (patch)
treef65f18acba151b50e5f38a3273b2da732439d4ec /tools/perf/util/trace-event-scripting.c
parent765af22da8a61bd44d354b3c3be955c332325b2f (diff)
x86, hibernate: Initialize mmu_cr4_features during boot
Restore the initialization of mmu_cr4_features during boot, which was removed without comment in checkin e5f15b45ddf3afa2bbbb10c7ea34fb32b6de0a0e x86: Cleanup highmap after brk is concluded thereby breaking resume from hibernate. This restores previous functionality in approximately the same place, and corrects the reading of %cr4 on pre-CPUID hardware (%cr4 exists if and only if CPUID is supported.) However, part of the problem is that the hibernate suspend/resume sequence should manage the save/restore of %cr4 explicitly. Signed-off-by: H. Peter Anvin <[email protected]> Cc: Rafael J. Wysocki <[email protected]> Cc: Stefano Stabellini <[email protected]> Cc: Yinghai Lu <[email protected]> LKML-Reference: <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions