[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <49A2CB13.4080708@aknet.ru>
Date: Mon, 23 Feb 2009 19:13:07 +0300
From: Stas Sergeev <stsp@...et.ru>
To: Linux kernel <linux-kernel@...r.kernel.org>
CC: Andrew Morton <akpm@...ux-foundation.org>,
Zachary Amsden <zach@...are.com>,
Chuck Ebbert <76306.1226@...puserve.com>
Subject: [patch] small fix to espfix code
Hi.
The attached patch fixes a tiny
bug introduced by this patch:
http://lkml.org/lkml/2006/9/30/134
The patch was changing the espfix
stack to be 32bit instead of 16bit,
but this place seems to have been
overlooked.
The code was like this:
---
pushl %esp
movzwl %sp, %esp
addw $4, (%esp)
---
and the patch did:
---
pushl %esp
CFI_ADJUST_CFA_OFFSET 4
- movzwl %sp, %esp
addw $4, (%esp)
---
but the addw was forgotten to adjust.
The bug is mostly theoretical, I can't
really test the effect of this patch.
So, it is completely untested.
---
Fix tiny bug in the espfix NMI handling
code. The bug was inroduced by this patch:
http://lkml.org/lkml/2006/9/30/134
and can practically never be triggered.
Signed-off-by: Stas Sergeev <stsp@...et.ru>
CC: Zachary Amsden <zach@...are.com>
CC: Chuck Ebbert <76306.1226@...puserve.com>
View attachment "espfix.diff" of type "text/x-patch" (327 bytes)
Powered by blists - more mailing lists