.. | .. |
---|
3 | 3 | # error "Please do not build this file directly, build asm-offsets.c instead" |
---|
4 | 4 | #endif |
---|
5 | 5 | |
---|
6 | | -#include <asm/ucontext.h> |
---|
| 6 | +#include <linux/efi.h> |
---|
7 | 7 | |
---|
8 | | -#define __SYSCALL_I386(nr, sym, qual) [nr] = 1, |
---|
9 | | -static char syscalls[] = { |
---|
10 | | -#include <asm/syscalls_32.h> |
---|
11 | | -}; |
---|
| 8 | +#include <asm/ucontext.h> |
---|
12 | 9 | |
---|
13 | 10 | /* workaround for a warning with -Wmissing-prototypes */ |
---|
14 | 11 | void foo(void); |
---|
.. | .. |
---|
62 | 59 | #endif |
---|
63 | 60 | |
---|
64 | 61 | BLANK(); |
---|
65 | | - DEFINE(__NR_syscall_max, sizeof(syscalls) - 1); |
---|
66 | | - DEFINE(NR_syscalls, sizeof(syscalls)); |
---|
| 62 | + DEFINE(EFI_svam, offsetof(efi_runtime_services_t, set_virtual_address_map)); |
---|
67 | 63 | } |
---|