mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
powerpc/paca: Remove mm_ctx_id and mm_ctx_slb_addr_limit
mm_ctx_id and mm_ctx_slb_addr_limit are not used anymore. Remove them. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/6e1813953da38c452c131fe3e2a2761a0fddb975.1620223303.git.christophe.leroy@csgroup.eu
This commit is contained in:
parent
1a3c6ceed2
commit
13c7dad951
2 changed files with 0 additions and 4 deletions
|
@ -149,11 +149,9 @@ struct paca_struct {
|
|||
#endif /* CONFIG_PPC_BOOK3E */
|
||||
|
||||
#ifdef CONFIG_PPC_BOOK3S
|
||||
mm_context_id_t mm_ctx_id;
|
||||
#ifdef CONFIG_PPC_MM_SLICES
|
||||
unsigned char mm_ctx_low_slices_psize[BITS_PER_LONG / BITS_PER_BYTE];
|
||||
unsigned char mm_ctx_high_slices_psize[SLICE_ARRAY_SIZE];
|
||||
unsigned long mm_ctx_slb_addr_limit;
|
||||
#else
|
||||
u16 mm_ctx_user_psize;
|
||||
u16 mm_ctx_sllp;
|
||||
|
|
|
@ -346,10 +346,8 @@ void copy_mm_to_paca(struct mm_struct *mm)
|
|||
#ifdef CONFIG_PPC_BOOK3S
|
||||
mm_context_t *context = &mm->context;
|
||||
|
||||
get_paca()->mm_ctx_id = context->id;
|
||||
#ifdef CONFIG_PPC_MM_SLICES
|
||||
VM_BUG_ON(!mm_ctx_slb_addr_limit(context));
|
||||
get_paca()->mm_ctx_slb_addr_limit = mm_ctx_slb_addr_limit(context);
|
||||
memcpy(&get_paca()->mm_ctx_low_slices_psize, mm_ctx_low_slices(context),
|
||||
LOW_SLICE_ARRAY_SZ);
|
||||
memcpy(&get_paca()->mm_ctx_high_slices_psize, mm_ctx_high_slices(context),
|
||||
|
|
Loading…
Reference in a new issue