efi: ia64: move SAL systab handling out of generic EFI code
The SAL systab is an Itanium specific EFI configuration table, so move its handling into arch/ia64 where it belongs. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include <asm/pal.h>
|
||||
#include <asm/fpu.h>
|
||||
|
||||
extern unsigned long sal_systab_phys;
|
||||
extern spinlock_t sal_lock;
|
||||
|
||||
/* SAL spec _requires_ eight args for each call. */
|
||||
|
@@ -167,7 +167,7 @@
|
||||
static inline u32
|
||||
sn_sal_rev(void)
|
||||
{
|
||||
struct ia64_sal_systab *systab = __va(efi.sal_systab);
|
||||
struct ia64_sal_systab *systab = __va(sal_systab_phys);
|
||||
|
||||
return (u32)(systab->sal_b_rev_major << 8 | systab->sal_b_rev_minor);
|
||||
}
|
||||
|
Reference in New Issue
Block a user