mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
powerpc: add context.vdso_base for 32-bit too
This adds a vdso_base element to the mm_context_t for 32-bit compiles (both for ARCH=powerpc and ARCH=ppc). This fixes the compile errors that have been reported in arch/powerpc/kernel/signal_32.c. Signed-off-by: Paul Mackerras <[email protected]>
This commit is contained in:
parent
050613545b
commit
6218a761bb
10 changed files with 31 additions and 24 deletions
|
|
@ -2268,7 +2268,7 @@ static int powerbook_sleep_grackle(void)
|
|||
_set_L2CR(save_l2cr);
|
||||
|
||||
/* 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);
|
||||
|
||||
/* Power things up */
|
||||
pmu_unlock();
|
||||
|
|
@ -2366,7 +2366,7 @@ powerbook_sleep_Core99(void)
|
|||
_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);
|
||||
|
||||
/* Tell PMU we are ready */
|
||||
pmu_unlock();
|
||||
|
|
|
|||
Loading…
Reference in a new issue