Skip to content

Commit d71e3eb

Browse files
Nicolas Pitrenpitre
authored andcommitted
ARM: make struct machine_desc definition coherent with its comment
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>
1 parent 809b4e0 commit d71e3eb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • arch/arm/include/asm/mach

‎arch/arm/include/asm/mach/arch.h‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@ struct machine_desc {
2020
* by assembler code in head.S, head-common.S
2121
*/
2222
unsigned int nr; /* architecture number */
23-
unsigned int nr_irqs; /* number of IRQs */
2423
unsigned int phys_io; /* start of physical io */
2524
unsigned int io_pg_offst; /* byte offset for io
2625
* page tabe entry */
2726

2827
const char *name; /* architecture name */
2928
unsigned long boot_params; /* tagged list */
3029

30+
unsigned int nr_irqs; /* number of IRQs */
31+
3132
unsigned int video_start; /* start of video RAM */
3233
unsigned int video_end; /* end of video RAM */
3334

0 commit comments

Comments
 (0)