kboot: use SYS_kexec_load insteaed of __NR_kexec_load
Make this regular with the rest of the system calls. Sponsored by: Netflix
This commit is contained in:
parent
ce3e4a3a96
commit
43ad112b93
@ -2,6 +2,7 @@
|
||||
#define SYS_getdents 78
|
||||
#define SYS_gettimeofday 96
|
||||
#define SYS_lseek 8
|
||||
#define SYS_kexec_load 246
|
||||
#define SYS_mmap 9
|
||||
#define SYS_open 2
|
||||
#define SYS_read 0
|
||||
@ -9,7 +10,6 @@
|
||||
#define SYS_select 23
|
||||
#define SYS_uname 63
|
||||
#define SYS_write 1
|
||||
#define __NR_kexec_load 246
|
||||
|
||||
#define KEXEC_ARCH_X86_64 62
|
||||
#define KEXEC_ARCH KEXEC_ARCH_X86_64
|
||||
|
@ -1,6 +1,7 @@
|
||||
#define SYS_close 6
|
||||
#define SYS_getdents 141
|
||||
#define SYS_gettimeofday 78
|
||||
#define SYS_kexec_load 268
|
||||
#define SYS_llseek 140
|
||||
#define SYS_mmap 90
|
||||
#define SYS_open 5
|
||||
@ -9,7 +10,6 @@
|
||||
#define SYS_select 142
|
||||
#define SYS_uname 120
|
||||
#define SYS_write 4
|
||||
#define __NR_kexec_load 268
|
||||
|
||||
#define KEXEC_ARCH_PPC64 21
|
||||
#define KEXEC_ARCH KEXEC_ARCH_PPC64
|
||||
|
@ -70,7 +70,7 @@ host_select(int nfds, long *readfds, long *writefds, long *exceptfds,
|
||||
int
|
||||
kexec_load(uint32_t start, int nsegs, uint32_t segs)
|
||||
{
|
||||
return host_syscall(__NR_kexec_load, start, nsegs, segs, KEXEC_ARCH << 16);
|
||||
return host_syscall(SYS_kexec_load, start, nsegs, segs, KEXEC_ARCH << 16);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user