xtensa: re-wire umount syscall to sys_oldumount
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 6 Oct 2014 17:01:17 +0000 (21:01 +0400)
committerZefan Li <lizefan@huawei.com>
Mon, 2 Feb 2015 09:05:16 +0000 (17:05 +0800)
commit792a118bb47f8e34ca0794032a533df214fbb1fe
treeeae43caa6c2dbf6f06470b7875a84cf8208b9cd3
parent0e7638d87693175cc479b91a8227a27991363cf0
xtensa: re-wire umount syscall to sys_oldumount

commit 2651cc6974d47fc43bef1cd8cd26966e4f5ba306 upstream.

Userspace actually passes single parameter (path name) to the umount
syscall, so new umount just fails. Fix it by requesting old umount
syscall implementation and re-wiring umount to it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
[lizf: Backported to 3.4: adjust filename]
Signed-off-by: Zefan Li <lizefan@huawei.com>
arch/xtensa/include/asm/unistd.h