Эх сурвалжийг харах

[PATCH] ARM: Change 'param_offset' to 'boot_params'

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King 20 жил өмнө
parent
commit
f9bd6ea446

+ 2 - 2
arch/arm/kernel/setup.c

@@ -737,8 +737,8 @@ void __init setup_arch(char **cmdline_p)
 	if (mdesc->soft_reboot)
 	if (mdesc->soft_reboot)
 		reboot_setup("s");
 		reboot_setup("s");
 
 
-	if (mdesc->param_offset)
-		tags = phys_to_virt(mdesc->param_offset);
+	if (mdesc->boot_params)
+		tags = phys_to_virt(mdesc->boot_params);
 
 
 	/*
 	/*
 	 * If we have the old style parameters, convert them to
 	 * If we have the old style parameters, convert them to

+ 1 - 1
include/asm-arm/mach/arch.h

@@ -26,7 +26,7 @@ struct machine_desc {
 						 * page tabe entry	*/
 						 * page tabe entry	*/
 
 
 	const char		*name;		/* architecture name	*/
 	const char		*name;		/* architecture name	*/
-	unsigned int		param_offset;	/* parameter page	*/
+	unsigned long		boot_params;	/* tagged list		*/
 
 
 	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	*/