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:
04d91cb
)
sparc64: Fix global reg snapshotting on self-cpu.
author
David S. Miller
<davem@davemloft.net>
Mon, 28 Jul 2008 07:44:29 +0000
(
00:44
-0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jul 2008 07:44:29 +0000
(
00:44
-0700)
We were picking %i7 out of the wrong register window
stack slot.
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/process.c
b/arch/sparc64/kernel/process.c
index 8a9cd3e165b9af46818a107b62470554ce8c80a7..0f60547c24d9d2f26bcba8c53a7a48a6160c540c 100644
(file)
--- a/
arch/sparc64/kernel/process.c
+++ b/
arch/sparc64/kernel/process.c
@@
-319,7
+319,7
@@
static void __global_reg_self(struct thread_info *tp, struct pt_regs *regs,
rw = (struct reg_window *)
(regs->u_regs[UREG_FP] + STACK_BIAS);
- global_reg_snapshot[this_cpu].i7 = rw->ins[
6
];
+ global_reg_snapshot[this_cpu].i7 = rw->ins[
7
];
} else
global_reg_snapshot[this_cpu].i7 = 0;