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

Bug#44654: dpkg: seg faults w/2.3.17; problem traced to sysinfo() call



On Thu, 9 Sep 1999, Alan Cox wrote:

>be 20- on x86.

I suggest also to put back the comment about the 64byte alignment.

--- 2.3.17/include/linux/kernel.h	Wed Sep  8 18:18:56 1999
+++ kernel.h	Fri Sep 10 02:32:45 1999
@@ -96,7 +96,8 @@
 	unsigned short procs;		/* Number of current processes */
 	unsigned long totalbig;		/* Total big memory size */
 	unsigned long freebig;		/* Available big memory size */
-	char _f[22-2*sizeof(long)];	/* Padding: libc5 uses this.. */
+	char _f[12];			/* Pads structure to 64 bytes
+					   (libc5 uses this..) */
 };
 
 #endif

Andrea


Reply to: