rpms/kernel/devel linux-2.6-debug-sizeof-structs.patch,1.1,1.2
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Mon Sep 18 17:25:09 UTC 2006
Author: davej
Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21470
Modified Files:
linux-2.6-debug-sizeof-structs.patch
Log Message:
not longs
linux-2.6-debug-sizeof-structs.patch:
main.c | 11 +++++++++++
1 files changed, 11 insertions(+)
Index: linux-2.6-debug-sizeof-structs.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6-debug-sizeof-structs.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- linux-2.6-debug-sizeof-structs.patch 11 Jul 2006 06:58:26 -0000 1.1
+++ linux-2.6-debug-sizeof-structs.patch 18 Sep 2006 17:25:06 -0000 1.2
@@ -15,13 +15,13 @@
smp_commence();
#endif
+
-+ printk(KERN_DEBUG "sizeof(vma)=%ld bytes\n", sizeof(struct vm_area_struct));
-+ printk(KERN_DEBUG "sizeof(page)=%ld bytes\n", sizeof(struct page));
-+ printk(KERN_DEBUG "sizeof(inode)=%ld bytes\n", sizeof(struct inode));
-+ printk(KERN_DEBUG "sizeof(dentry)=%ld bytes\n", sizeof(struct dentry));
-+ printk(KERN_DEBUG "sizeof(ext3inode)=%ld bytes\n", sizeof(struct ext3_inode_info));
-+ printk(KERN_DEBUG "sizeof(buffer_head)=%ld bytes\n", sizeof(struct buffer_head));
-+ printk(KERN_DEBUG "sizeof(skbuff)=%ld bytes\n", sizeof(struct sk_buff));
++ printk(KERN_DEBUG "sizeof(vma)=%d bytes\n", sizeof(struct vm_area_struct));
++ printk(KERN_DEBUG "sizeof(page)=%d bytes\n", sizeof(struct page));
++ printk(KERN_DEBUG "sizeof(inode)=%d bytes\n", sizeof(struct inode));
++ printk(KERN_DEBUG "sizeof(dentry)=%d bytes\n", sizeof(struct dentry));
++ printk(KERN_DEBUG "sizeof(ext3inode)=%d bytes\n", sizeof(struct ext3_inode_info));
++ printk(KERN_DEBUG "sizeof(buffer_head)=%d bytes\n", sizeof(struct buffer_head));
++ printk(KERN_DEBUG "sizeof(skbuff)=%d bytes\n", sizeof(struct sk_buff));
}
#endif
More information about the fedora-cvs-commits
mailing list