Skip to content

Commit

Permalink
voyager: use struct instead of PARAM
Browse files Browse the repository at this point in the history
Use struct boot_params instead of PARAM + 0xoffsets.
Fixes one of many Voyager build problems.

arch/x86/kernel/setup_32.c:543: error: 'PARAM' undeclared (first use in this function)

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
rddunlap authored and Thomas Gleixner committed Nov 10, 2007
1 parent 3c5fd9c commit 1a0c3ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/asm-x86/mach-voyager/setup_arch.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include <asm/voyager.h>
#define VOYAGER_BIOS_INFO ((struct voyager_bios_info *)(PARAM+0x40))
#include <asm/setup_32.h>
#define VOYAGER_BIOS_INFO ((struct voyager_bios_info *) \
(&boot_params.apm_bios_info))

/* Hook to call BIOS initialisation function */

Expand Down

0 comments on commit 1a0c3ea

Please sign in to comment.