ia64/xen-unstable

changeset 17907:dedfadeadf86

PV-GRUB: fix reiserfs 64bit support

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jun 20 18:42:45 2008 +0100 (2008-06-20)
parents 6563ea38e002
children e5ae980fe337
files stubdom/grub.patches/99minios
line diff
     1.1 --- a/stubdom/grub.patches/99minios	Fri Jun 20 18:41:50 2008 +0100
     1.2 +++ b/stubdom/grub.patches/99minios	Fri Jun 20 18:42:45 2008 +0100
     1.3 @@ -832,7 +832,18 @@ Index: grub/stage2/fsys_iso9660.c
     1.4  Index: grub/stage2/fsys_reiserfs.c
     1.5  ===================================================================
     1.6  --- grub.orig/stage2/fsys_reiserfs.c	2008-06-16 15:18:03.410933000 +0100
     1.7 -+++ grub/stage2/fsys_reiserfs.c	2008-06-16 15:18:14.786009000 +0100
     1.8 ++++ grub/stage2/fsys_reiserfs.c	2008-06-20 18:33:52.002100000 +0100
     1.9 +@@ -224,8 +224,8 @@
    1.10 + 
    1.11 + struct disk_child
    1.12 + {
    1.13 +-  unsigned long       dc_block_number;              /* Disk child's block number. */
    1.14 +-  unsigned short      dc_size;		            /* Disk child's used space.   */
    1.15 ++  __u32       dc_block_number;              /* Disk child's block number. */
    1.16 ++  __u16      dc_size;		            /* Disk child's used space.   */
    1.17 + };
    1.18 + 
    1.19 + #define DC_SIZE (sizeof (struct disk_child))
    1.20  @@ -369,7 +369,14 @@
    1.21   static __inline__ unsigned long
    1.22   log2 (unsigned long word)