ARM: make struct machine_desc definition coherent with its comment
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 15 Oct 2010 02:37:52 +0000 (22:37 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Wed, 20 Oct 2010 04:27:14 +0000 (00:27 -0400)
As mentioned in the comment right at the top, the first four fields
are directly accessed by assembly code in head.S.  Move nr_irqs so the
comment is true again.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/include/asm/mach/arch.h

index 8a0dd18ba6427301ed4b802739a390dec64d12c2..ac6851133fe37bf5f27b9d43f0461dedcf1bc1ec 100644 (file)
@@ -20,7 +20,6 @@ struct machine_desc {
         * by assembler code in head.S, head-common.S
         */
        unsigned int            nr;             /* architecture number  */
-       unsigned int            nr_irqs;        /* number of IRQs */
        unsigned int            phys_io;        /* start of physical io */
        unsigned int            io_pg_offst;    /* byte offset for io 
                                                 * page tabe entry      */
@@ -28,6 +27,8 @@ struct machine_desc {
        const char              *name;          /* architecture name    */
        unsigned long           boot_params;    /* tagged list          */
 
+       unsigned int            nr_irqs;        /* number of IRQs */
+
        unsigned int            video_start;    /* start of video RAM   */
        unsigned int            video_end;      /* end of video RAM     */