Commit 24a3e01c authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] x86_64: Add 32bit quota support

[untested, but other 64bit ports seem to get away with it]

sys_quotactl seems to be 32/64bit clean, enable it for 32bit.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 16c67629
...@@ -433,7 +433,7 @@ ia32_sys_call_table: ...@@ -433,7 +433,7 @@ ia32_sys_call_table:
.quad sys_init_module .quad sys_init_module
.quad sys_delete_module .quad sys_delete_module
.quad quiet_ni_syscall /* 130 get_kernel_syms */ .quad quiet_ni_syscall /* 130 get_kernel_syms */
.quad sys32_quotactl /* quotactl */ .quad sys_quotactl
.quad sys_getpgid .quad sys_getpgid
.quad sys_fchdir .quad sys_fchdir
.quad quiet_ni_syscall /* bdflush */ .quad quiet_ni_syscall /* bdflush */
......
...@@ -1331,18 +1331,6 @@ long sys32_vm86_warning(void) ...@@ -1331,18 +1331,6 @@ long sys32_vm86_warning(void)
return -ENOSYS; return -ENOSYS;
} }
long sys32_quotactl(void)
{
struct task_struct *me = current;
static char lastcomm[8];
if (strcmp(lastcomm, me->comm)) {
printk(KERN_INFO "%s: 32bit quotactl not supported on 64 bit kernel\n",
me->comm);
strcpy(lastcomm, me->comm);
}
return -ENOSYS;
}
long sys32_lookup_dcookie(u32 addr_low, u32 addr_high, long sys32_lookup_dcookie(u32 addr_low, u32 addr_high,
char __user * buf, size_t len) char __user * buf, size_t len)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment