Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a0c3ea6 authored by Randy Dunlap's avatar Randy Dunlap Committed by Thomas Gleixner
Browse files

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 3c5fd9c7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
#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 */