]> err.no Git - linux-2.6/commitdiff
[ARM] 3261/2: remove phys_ram from struct machine_desc (part 3)
authorNicolas Pitre <nico@cam.org>
Mon, 20 Mar 2006 17:10:01 +0000 (17:10 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 21 Mar 2006 22:05:58 +0000 (22:05 +0000)
Patch from Nicolas Pitre

This field is redundent since it must be equal to PHYS_OFFSET anyway.

There is no reference to it anymore so remove it at last.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head.S
include/asm-arm/mach/arch.h

index 1aca1775b28f188ac6682e5dfd15cd54e05b414e..84277fe818a1883e8c4825c47ffb10e6de6c7631 100644 (file)
 #define PROCINFO_INITFUNC      12
 
 #define MACHINFO_TYPE          0
-#define MACHINFO_PHYSRAM       4
-#define MACHINFO_PHYSIO                8
-#define MACHINFO_PGOFFIO       12
-#define MACHINFO_NAME          16
+#define MACHINFO_PHYSIO                4
+#define MACHINFO_PGOFFIO       8
+#define MACHINFO_NAME          12
 
 #define KERNEL_RAM_ADDR        (PAGE_OFFSET + TEXT_OFFSET)
 
index 2cd57b4d64d9f4d0a70f340d1110bc03439a6426..fd2f9bf4dcc68decea8bede1a8ebeee36552f02f 100644 (file)
 
 #ifndef __ASSEMBLY__
 
-#include <linux/compiler.h>
-
 struct tag;
 struct meminfo;
 struct sys_timer;
 
 struct machine_desc {
        /*
-        * Note! The first five elements are used
+        * Note! The first four elements are used
         * by assembler code in head-armv.S
         */
        unsigned int            nr;             /* architecture number  */
-       unsigned int __deprecated phys_ram;     /* start of physical ram */
        unsigned int            phys_io;        /* start of physical io */
        unsigned int            io_pg_offst;    /* byte offset for io 
                                                 * page tabe entry      */