]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-i386/e820.h
[SPARC64]: Convert parport to of_platform_driver.
[linux-2.6-omap-h63xx.git] / include / asm-i386 / e820.h
index 096a2a8eb1da6d8ef5df6da452a226a13f4f5798..c03290ccecb274889663681107cce207501d2cb6 100644 (file)
 
 #ifndef __ASSEMBLY__
 
+struct e820entry {
+       u64 addr;       /* start of memory segment */
+       u64 size;       /* size of memory segment */
+       u32 type;       /* type of memory segment */
+} __attribute__((packed));
+
 struct e820map {
-    int nr_map;
-    struct e820entry {
-       unsigned long long addr;        /* start of memory segment */
-       unsigned long long size;        /* size of memory segment */
-       unsigned long type;             /* type of memory segment */
-    } map[E820MAX];
+       u32 nr_map;
+       struct e820entry map[E820MAX];
 };
 
 extern struct e820map e820;