Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d71e3eb5 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Nicolas Pitre
Browse files

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: default avatarNicolas Pitre <nicolas.pitre@linaro.org>
parent 809b4e00
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -20,7 +20,6 @@ struct machine_desc {
	 * by assembler code in head.S, head-common.S
	 * by assembler code in head.S, head-common.S
	 */
	 */
	unsigned int		nr;		/* architecture number	*/
	unsigned int		nr;		/* architecture number	*/
	unsigned int		nr_irqs;	/* number of IRQs */
	unsigned int		phys_io;	/* start of physical io	*/
	unsigned int		phys_io;	/* start of physical io	*/
	unsigned int		io_pg_offst;	/* byte offset for io 
	unsigned int		io_pg_offst;	/* byte offset for io 
						 * page tabe entry	*/
						 * page tabe entry	*/
@@ -28,6 +27,8 @@ struct machine_desc {
	const char		*name;		/* architecture name	*/
	const char		*name;		/* architecture name	*/
	unsigned long		boot_params;	/* tagged list		*/
	unsigned long		boot_params;	/* tagged list		*/


	unsigned int		nr_irqs;	/* number of IRQs */

	unsigned int		video_start;	/* start of video RAM	*/
	unsigned int		video_start;	/* start of video RAM	*/
	unsigned int		video_end;	/* end of video RAM	*/
	unsigned int		video_end;	/* end of video RAM	*/