sparc32: vm_area_struct access for old Sun SPARCs.
authorOlivier DANET <odanet@caramail.com>
Wed, 10 Jul 2013 20:56:10 +0000 (13:56 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 2 Aug 2013 20:14:51 +0000 (22:14 +0200)
commitd28828aae0b1de13f4ec6d036276da7f01bd03a7
tree2f8efd0bfa507ac771b4138d569c96531786bfab
parentff3599bb956435966cf801d25e6c047502f3165a
sparc32: vm_area_struct access for old Sun SPARCs.

commit 961246b4ed8da3bcf4ee1eb9147f341013553e3c upstream.

Commit e4c6bfd2d79d063017ab19a18915f0bc759f32d9 ("mm: rearrange
vm_area_struct for fewer cache misses") changed the layout of the
vm_area_struct structure, it broke several SPARC32 assembly routines
which used numerical constants for accessing the vm_mm field.

This patch defines the VMA_VM_MM constant to replace the immediate values.

Signed-off-by: Olivier DANET <odanet@caramail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/sparc/kernel/asm-offsets.c
arch/sparc/mm/hypersparc.S
arch/sparc/mm/swift.S
arch/sparc/mm/tsunami.S
arch/sparc/mm/viking.S