Commit:     1a0c3ea65ca4838a803a14f0ff2bfc78aa69c9a0
Parent:     3c5fd9c77d609b51c0bab682c9d40cbb496ec6f1
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Sat Nov 10 04:30:36 2007 +0100
Committer:  Thomas Gleixner <[EMAIL PROTECTED](none)>
CommitDate: Sat Nov 10 04:30:36 2007 +0100

    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 <[EMAIL PROTECTED]>
    Cc: James Bottomley <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
 include/asm-x86/mach-voyager/setup_arch.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/asm-x86/mach-voyager/setup_arch.h 
index 84d01ad..1710ae1 100644
--- a/include/asm-x86/mach-voyager/setup_arch.h
+++ b/include/asm-x86/mach-voyager/setup_arch.h
@@ -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 */
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to