]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] 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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jul 2013 20:56:10 +0000 (13:56 -0700)
commit52c64536664c74a7b642c90172b3141c4c368b5e
tree221ac718b5e628c7fcac57e78482810219c64baa
parent2c9b810368791007f4e35905fb7b925252dbebca
[PATCH] sparc32: vm_area_struct access for old Sun SPARCs.

Commit 2ff0f957697cd29f1aaee66ec7b599625e1e34b5 ("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>
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