Commit 459c2a46 authored by Richard Henderson's avatar Richard Henderson Committed by Richard Henderson

Remove osf_swapon; fall back to sys_swapon immediately.

parent e88ce280
...@@ -417,18 +417,6 @@ osf_utsname(char *name) ...@@ -417,18 +417,6 @@ osf_utsname(char *name)
return error; return error;
} }
asmlinkage int
osf_swapon(const char *path, int flags, int lowat, int hiwat)
{
int ret;
/* for now, simply ignore lowat and hiwat... */
lock_kernel();
ret = sys_swapon(path, flags);
unlock_kernel();
return ret;
}
asmlinkage unsigned long asmlinkage unsigned long
sys_getpagesize(void) sys_getpagesize(void)
{ {
......
...@@ -216,7 +216,8 @@ sys_call_table: ...@@ -216,7 +216,8 @@ sys_call_table:
.quad alpha_ni_syscall .quad alpha_ni_syscall
.quad alpha_ni_syscall .quad alpha_ni_syscall
.quad alpha_ni_syscall .quad alpha_ni_syscall
.quad osf_swapon /* The OSF swapon has two extra arguments, but we ignore them. */
.quad sys_swapon
.quad sys_msgctl /* 200 */ .quad sys_msgctl /* 200 */
.quad sys_msgget .quad sys_msgget
.quad sys_msgrcv .quad sys_msgrcv
......
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