[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/kernel/FC-4 kernel-2.6.spec, 1.1430, 1.1431 linux-2.6.12rc3-xen-vdso-note.patch, 1.5, 1.6



Author: riel

Update of /cvs/dist/rpms/kernel/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv21297

Modified Files:
	kernel-2.6.spec linux-2.6.12rc3-xen-vdso-note.patch 
Log Message:
fix Xen VDSO problem


Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-4/kernel-2.6.spec,v
retrieving revision 1.1430
retrieving revision 1.1431
diff -u -r1.1430 -r1.1431
--- kernel-2.6.spec	20 Aug 2005 06:47:22 -0000	1.1430
+++ kernel-2.6.spec	21 Aug 2005 19:20:05 -0000	1.1431
@@ -1263,6 +1263,9 @@
 %endif
 
 %changelog
+* Sun Aug 21 2005 Rik van Riel <riel redhat com>
+- fix the Xen vsyscall problem
+
 * Thu Aug 18 2005 David Woodhouse <dwmw2 redhat com>
 - Don't probe 8250 ports on ppc32 unless they're in the device tree
 - Enable ISDN, 8250 console, i8042 keyboard controller on ppc32

linux-2.6.12rc3-xen-vdso-note.patch:
 linux-2.6.11/include/asm-xen/asm-i386/page.h   |    2 +
 linux-2.6.12/arch/xen/i386/kernel/ldt.c        |    3 +-
 linux-2.6/arch/xen/i386/kernel/vsyscall-note.S |   32 +++++++++++++++++++++++++
 3 files changed, 36 insertions(+), 1 deletion(-)

Index: linux-2.6.12rc3-xen-vdso-note.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/FC-4/linux-2.6.12rc3-xen-vdso-note.patch,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- linux-2.6.12rc3-xen-vdso-note.patch	17 Aug 2005 21:29:45 -0000	1.5
+++ linux-2.6.12rc3-xen-vdso-note.patch	21 Aug 2005 19:20:05 -0000	1.6
@@ -44,17 +44,16 @@
  #endif /* __KERNEL__ */
  
  #endif /* _I386_PAGE_H */
---- linux/arch/i386/kernel/sysenter.c.xen	2005-08-17 12:31:12.000000000 -0400
-+++ linux/arch/i386/kernel/sysenter.c	2005-08-17 12:31:35.000000000 -0400
-@@ -69,7 +69,11 @@
+--- linux-2.6.12/arch/xen/i386/kernel/ldt.c.vdso	2005-08-19 10:50:02.000000000 -0400
++++ linux-2.6.12/arch/xen/i386/kernel/ldt.c	2005-08-21 11:01:21.000000000 -0400
+@@ -101,8 +101,9 @@
+ 	struct mm_struct * old_mm;
+ 	int retval = 0;
  
- extern void SYSENTER_RETURN_OFFSET;
- 
-+#ifdef CONFIG_XEN
-+unsigned int vdso_enabled = 0;
-+#else
- unsigned int vdso_enabled = 1;
-+#endif
- 
- /*
-  * This is called from binfmt_elf, we create the special vma for the
+-	memset(&mm->context, 0, sizeof(mm->context));
+ 	init_MUTEX(&mm->context.sem);
++	mm->context.size = 0;
++	mm->context.pinned = 0;
+ 	old_mm = current->mm;
+ 	if (old_mm && old_mm->context.size > 0) {
+ 		down(&old_mm->context.sem);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]