OSDN Git Service

sparc64: add per-cpu mm of secondary contexts
authorPavel Tatashin <pasha.tatashin@oracle.com>
Wed, 31 May 2017 15:25:23 +0000 (11:25 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jun 2017 11:16:20 +0000 (13:16 +0200)
commit3e557fd99a222570750a9269ac17372f4da07c8f
treee78fe25599eff584eafaa4d7aa74e1c3821beb0e
parent7e5551fbb86424aa64ad1be26c87cffc563d2d93
sparc64: add per-cpu mm of secondary contexts

[ Upstream commit 7a5b4bbf49fe86ce77488a70c5dccfe2d50d7a2d ]

The new wrap is going to use information from this array to figure out
mm's that currently have valid secondary contexts setup.

Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Reviewed-by: Bob Picco <bob.picco@oracle.com>
Reviewed-by: Steven Sistare <steven.sistare@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/include/asm/mmu_context_64.h
arch/sparc/mm/init_64.c