powerpc: add context.vdso_base for 32-bit too
[powerpc.git] / arch / powerpc / platforms / powermac / cpufreq_32.c
index cfd6527..af2a8f9 100644 (file)
@@ -314,7 +314,7 @@ static int pmu_set_cpu_speed(int low_speed)
                _set_L3CR(save_l3cr);
 
        /* Restore userland MMU context */
-       set_context(current->active_mm->context, current->active_mm->pgd);
+       set_context(current->active_mm->context.id, current->active_mm->pgd);
 
 #ifdef DEBUG_FREQ
        printk(KERN_DEBUG "HID1, after: %x\n", mfspr(SPRN_HID1));