aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mach-voyager
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-11-09 22:30:36 -0500
committerThomas Gleixner <tglx@apollo.(none)>2007-11-09 22:30:36 -0500
commit1a0c3ea65ca4838a803a14f0ff2bfc78aa69c9a0 (patch)
tree879cae5b04833b67393e0655eedec26f421d3cca /include/asm-x86/mach-voyager
parent3c5fd9c77d609b51c0bab682c9d40cbb496ec6f1 (diff)
voyager: use struct instead of PARAM
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>
Diffstat (limited to 'include/asm-x86/mach-voyager')
-rw-r--r--include/asm-x86/mach-voyager/setup_arch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-x86/mach-voyager/setup_arch.h b/include/asm-x86/mach-voyager/setup_arch.h
index 84d01ad33459..1710ae10eb67 100644
--- a/include/asm-x86/mach-voyager/setup_arch.h
+++ b/include/asm-x86/mach-voyager/setup_arch.h
@@ -1,5 +1,7 @@
1#include <asm/voyager.h> 1#include <asm/voyager.h>
2#define VOYAGER_BIOS_INFO ((struct voyager_bios_info *)(PARAM+0x40)) 2#include <asm/setup_32.h>
3#define VOYAGER_BIOS_INFO ((struct voyager_bios_info *) \
4 (&boot_params.apm_bios_info))
3 5
4/* Hook to call BIOS initialisation function */ 6/* Hook to call BIOS initialisation function */
5 7