aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom/grub.patches
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-06-20 18:42:45 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-06-20 18:42:45 +0100
commit40f4c996cd079867254fa2824edfede4f4b19e85 (patch)
tree555562c375bb1c7492ce2bb6dcb6e0e6bcd764f7 /stubdom/grub.patches
parentd067e4b0775b296578740a607a82a3940b7f30ac (diff)
downloadxen-40f4c996cd079867254fa2824edfede4f4b19e85.tar.gz
xen-40f4c996cd079867254fa2824edfede4f4b19e85.tar.bz2
xen-40f4c996cd079867254fa2824edfede4f4b19e85.zip
PV-GRUB: fix reiserfs 64bit support
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'stubdom/grub.patches')
-rw-r--r--stubdom/grub.patches/99minios13
1 files changed, 12 insertions, 1 deletions
diff --git a/stubdom/grub.patches/99minios b/stubdom/grub.patches/99minios
index 3efc57177c..f2c11fefe0 100644
--- a/stubdom/grub.patches/99minios
+++ b/stubdom/grub.patches/99minios
@@ -832,7 +832,18 @@ Index: grub/stage2/fsys_iso9660.c
Index: grub/stage2/fsys_reiserfs.c
===================================================================
--- grub.orig/stage2/fsys_reiserfs.c 2008-06-16 15:18:03.410933000 +0100
-+++ grub/stage2/fsys_reiserfs.c 2008-06-16 15:18:14.786009000 +0100
++++ grub/stage2/fsys_reiserfs.c 2008-06-20 18:33:52.002100000 +0100
+@@ -224,8 +224,8 @@
+
+ struct disk_child
+ {
+- unsigned long dc_block_number; /* Disk child's block number. */
+- unsigned short dc_size; /* Disk child's used space. */
++ __u32 dc_block_number; /* Disk child's block number. */
++ __u16 dc_size; /* Disk child's used space. */
+ };
+
+ #define DC_SIZE (sizeof (struct disk_child))
@@ -369,7 +369,14 @@
static __inline__ unsigned long
log2 (unsigned long word)