aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/macintosh/via-pmu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c
index d524dc245a2c..b40fb9b6c862 100644
--- a/drivers/macintosh/via-pmu.c
+++ b/drivers/macintosh/via-pmu.c
@@ -1814,7 +1814,7 @@ static int powerbook_sleep_grackle(void)
1814 _set_L2CR(save_l2cr); 1814 _set_L2CR(save_l2cr);
1815 1815
1816 /* Restore userland MMU context */ 1816 /* Restore userland MMU context */
1817 set_context(current->active_mm->context.id, current->active_mm->pgd); 1817 switch_mmu_context(NULL, current->active_mm);
1818 1818
1819 /* Power things up */ 1819 /* Power things up */
1820 pmu_unlock(); 1820 pmu_unlock();
@@ -1903,7 +1903,7 @@ powerbook_sleep_Core99(void)
1903 _set_L3CR(save_l3cr); 1903 _set_L3CR(save_l3cr);
1904 1904
1905 /* Restore userland MMU context */ 1905 /* Restore userland MMU context */
1906 set_context(current->active_mm->context.id, current->active_mm->pgd); 1906 switch_mmu_context(NULL, current->active_mm);
1907 1907
1908 /* Tell PMU we are ready */ 1908 /* Tell PMU we are ready */
1909 pmu_unlock(); 1909 pmu_unlock();