summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-03-28 17:01:23 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-04-09 12:53:28 +1000
commitf83319d71002aec03bd87bc9aabce5f549680f0a (patch)
treeb028e016fe0eaf36809700798fd7d9b05698b299 /arch/powerpc/include/asm
parente28b05e7ae8ba09e030ffe891ba154df5791cb76 (diff)
downloadtalos-obmc-linux-f83319d71002aec03bd87bc9aabce5f549680f0a.tar.gz
talos-obmc-linux-f83319d71002aec03bd87bc9aabce5f549680f0a.zip
powerpc: Add lq/stq emulation
Recent CPUs support quad word load and store instructions. Add support to the alignment handler for them. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r--arch/powerpc/include/asm/emulated_ops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/emulated_ops.h b/arch/powerpc/include/asm/emulated_ops.h
index 4358e3002f35..f00e10e2a335 100644
--- a/arch/powerpc/include/asm/emulated_ops.h
+++ b/arch/powerpc/include/asm/emulated_ops.h
@@ -54,6 +54,7 @@ extern struct ppc_emulated {
#ifdef CONFIG_PPC64
struct ppc_emulated_entry mfdscr;
struct ppc_emulated_entry mtdscr;
+ struct ppc_emulated_entry lq_stq;
#endif
} ppc_emulated;
OpenPOWER on IntegriCloud