Re: [PATCH] voyager: fix breakage caused by boot_params problem

From: H. Peter Anvin
Date: Fri Oct 26 2007 - 13:59:59 EST


James Bottomley wrote:
There was a missed conversion in the voyager architecture setup file
which this corrects.

Signed-off-by: James Bottomley <James.Bottomley@xxxxxxxxxxxx>

---

James

diff --git a/include/asm-x86/mach-voyager/setup_arch.h b/include/asm-x86/mach-voyager/setup_arch.h
index 84d01ad..10debd2 100644
--- a/include/asm-x86/mach-voyager/setup_arch.h
+++ b/include/asm-x86/mach-voyager/setup_arch.h
@@ -1,5 +1,5 @@
#include <asm/voyager.h>
-#define VOYAGER_BIOS_INFO ((struct voyager_bios_info *)(PARAM+0x40))
+#define VOYAGER_BIOS_INFO ((struct voyager_bios_info *)(&boot_params.apm_bios_info))
/* Hook to call BIOS initialisation function */

Acked-by: H. Peter Anvin <hpa@xxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/