]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc: Separate out load/store emulation into its own function
authorPaul Mackerras <paulus@ozlabs.org>
Wed, 30 Aug 2017 04:12:39 +0000 (14:12 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 1 Sep 2017 06:42:41 +0000 (16:42 +1000)
commita53d5182e24c22986ad0e99e52f8fe343ee7d7ac
tree83ef99241cf94c354d014bc343c3a8e3b493cf57
parentd955189ae42796621fb439e5e778ccaeebc2a1e7
powerpc: Separate out load/store emulation into its own function

This moves the parts of emulate_step() that deal with emulating
load and store instructions into a new function called
emulate_loadstore().  This is to make it possible to reuse this
code in the alignment handler.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/sstep.h
arch/powerpc/lib/sstep.c