WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Ensure preempt_stop always loads %ebp with thread-info p

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Ensure preempt_stop always loads %ebp with thread-info pointer.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 17 May 2005 18:17:46 +0000
Delivery-date: Tue, 17 May 2005 19:01:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1437, 2005/05/17 19:17:46+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Ensure preempt_stop always loads %ebp with thread-info pointer.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 entry.S |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


diff -Nru a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/entry.S 
b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/entry.S
--- a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/entry.S      2005-05-17 
15:02:19 -04:00
+++ b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/entry.S      2005-05-17 
15:02:19 -04:00
@@ -108,7 +108,8 @@
 #define XEN_TEST_PENDING(reg)  testb $0xFF,evtchn_upcall_pending(reg)
 
 #ifdef CONFIG_PREEMPT
-#define preempt_stop           XEN_BLOCK_EVENTS(%esi)
+#define preempt_stop           GET_THREAD_INFO(%ebp)                   ; \
+                               XEN_BLOCK_EVENTS(%esi)
 #else
 #define preempt_stop
 #define resume_kernel          restore_all
@@ -127,7 +128,7 @@
        pushl %ebx; \
        movl $(__USER_DS), %edx; \
        movl %edx, %ds; \
-       movl %edx, %es
+       movl %edx, %es;
 
 #define RESTORE_INT_REGS \
        popl %ebx;      \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Ensure preempt_stop always loads %ebp with thread-info pointer., BitKeeper Bot <=