parisc: Drop alloc_hugepages and free_hugepages syscalls
The system calls alloc_hugepages() and free_hugepages() were introduced in Linux 2.5.36 and removed again in 2.5.54. They were never implemented on parisc, so let's drop them now. Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
@@ -368,16 +368,6 @@ asmlinkage long parisc_fallocate(int fd, int mode, u32 offhi, u32 offlo,
|
||||
((u64)lenhi << 32) | lenlo);
|
||||
}
|
||||
|
||||
asmlinkage unsigned long sys_alloc_hugepages(int key, unsigned long addr, unsigned long len, int prot, int flag)
|
||||
{
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
asmlinkage int sys_free_hugepages(unsigned long addr)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
long parisc_personality(unsigned long personality)
|
||||
{
|
||||
long err;
|
||||
|
@@ -315,8 +315,8 @@
|
||||
ENTRY_COMP(io_getevents)
|
||||
ENTRY_COMP(io_submit)
|
||||
ENTRY_SAME(io_cancel)
|
||||
ENTRY_SAME(alloc_hugepages) /* 220 */
|
||||
ENTRY_SAME(free_hugepages)
|
||||
ENTRY_SAME(ni_syscall) /* 220: was alloc_hugepages */
|
||||
ENTRY_SAME(ni_syscall) /* was free_hugepages */
|
||||
ENTRY_SAME(exit_group)
|
||||
ENTRY_COMP(lookup_dcookie)
|
||||
ENTRY_SAME(epoll_create)
|
||||
|
Reference in New Issue
Block a user