projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f16ef7
)
powerpc: Add alignment handler for new lfiwzx instruction
author
Michael Neuling
<mikey@neuling.org>
Thu, 19 Feb 2009 18:51:37 +0000
(18:51 +0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Mon, 23 Feb 2009 04:53:04 +0000
(15:53 +1100)
lfiwzx is a new floating point load instruction in 2.06 that needs an
alignment handler for Linux.
Turns out to be the worlds easiest handler to add.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/align.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/align.c
b/arch/powerpc/kernel/align.c
index ada06924a423b312e1e404c65a3d446e92fb31ea..076aa0ea2345813591167e7293701ded43f31f11 100644
(file)
--- a/
arch/powerpc/kernel/align.c
+++ b/
arch/powerpc/kernel/align.c
@@
-187,7
+187,7
@@
static struct aligninfo aligninfo[128] = {
{ 4, ST+F+S+U }, /* 11 1 1010: stfsux */
{ 8, ST+F+U }, /* 11 1 1011: stfdux */
INVALID, /* 11 1 1100 */
-
INVALID, /* 11 1 1101
*/
+
{ 4, LD+F }, /* 11 1 1101: lfiwzx
*/
INVALID, /* 11 1 1110 */
INVALID, /* 11 1 1111 */
};