X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fpartitions%2Fldm.h;h=30e08e809c1dd7867801357ce71c12ecc028f132;hb=7f268a2ba7c884a239713696238dd4207a57dd9a;hp=d2e6a3046939aa1a5bc9eb4a69c452e74aa50a4f;hpb=31f6e1bd3b58c9a67e5ea0c2d372fbf5fc9e326d;p=mv-sheeva.git diff --git a/fs/partitions/ldm.h b/fs/partitions/ldm.h index d2e6a304693..30e08e809c1 100644 --- a/fs/partitions/ldm.h +++ b/fs/partitions/ldm.h @@ -68,7 +68,7 @@ struct parsed_partitions; #define VBLK_SIZE_DSK3 12 #define VBLK_SIZE_DSK4 45 #define VBLK_SIZE_PRT3 28 -#define VBLK_SIZE_VOL5 59 +#define VBLK_SIZE_VOL5 58 /* component types */ #define COMP_STRIPE 0x01 /* Stripe-set */ @@ -98,11 +98,6 @@ struct parsed_partitions; #define TOC_BITMAP1 "config" /* Names of the two defined */ #define TOC_BITMAP2 "log" /* bitmaps in the TOCBLOCK. */ -/* Most numbers we deal with are big-endian and won't be aligned. */ -#define BE16(x) ((u16)be16_to_cpu(get_unaligned((__be16*)(x)))) -#define BE32(x) ((u32)be32_to_cpu(get_unaligned((__be32*)(x)))) -#define BE64(x) ((u64)be64_to_cpu(get_unaligned((__be64*)(x)))) - /* Borrowed from msdos.c */ #define SYS_IND(p) (get_unaligned(&(p)->sys_ind))