diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-29 15:30:13 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-29 15:30:13 -0400 |
commit | b78b6b3a9af239549ea863e085223d1d4f65a608 (patch) | |
tree | fb55713cba98edd270df2c54a7590a2be7e1be10 /arch/powerpc/platforms/pseries/ras.c | |
parent | 7f4708abf16ae48e58a9190898253bc7c94a30c1 (diff) | |
parent | 5ae90d8e467e625e447000cb4335c4db973b1095 (diff) |
Merge 3.11-rc3 into driver-core-next
We want these fixes in this branch.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/ras.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/ras.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/ras.c b/arch/powerpc/platforms/pseries/ras.c index 7b3cbde8c783..721c0586b284 100644 --- a/arch/powerpc/platforms/pseries/ras.c +++ b/arch/powerpc/platforms/pseries/ras.c | |||
@@ -287,6 +287,9 @@ static struct rtas_error_log *fwnmi_get_errinfo(struct pt_regs *regs) | |||
287 | unsigned long *savep; | 287 | unsigned long *savep; |
288 | struct rtas_error_log *h, *errhdr = NULL; | 288 | struct rtas_error_log *h, *errhdr = NULL; |
289 | 289 | ||
290 | /* Mask top two bits */ | ||
291 | regs->gpr[3] &= ~(0x3UL << 62); | ||
292 | |||
290 | if (!VALID_FWNMI_BUFFER(regs->gpr[3])) { | 293 | if (!VALID_FWNMI_BUFFER(regs->gpr[3])) { |
291 | printk(KERN_ERR "FWNMI: corrupt r3 0x%016lx\n", regs->gpr[3]); | 294 | printk(KERN_ERR "FWNMI: corrupt r3 0x%016lx\n", regs->gpr[3]); |
292 | return NULL; | 295 | return NULL; |