OSDN Git Service

libc: posix_fadvise: restore implementation for xtensa
authorBaruch Siach <baruch@tkos.co.il>
Sun, 5 Jan 2014 09:44:02 +0000 (11:44 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 8 Jan 2014 11:34:31 +0000 (12:34 +0100)
commit00571b43df2e0554d1b0716681832ba9975177c5
tree1bee9b6da11d279e5ad22bfd0d91cba778394ef8
parentb97b4b698b023f75b54f987859c856ab4861ea00
libc: posix_fadvise: restore implementation for xtensa

Commit ee84b8b400 (linux: posix_fadvise: use new SYSCALL_ALIGN_64BIT)
removed posix_fadvise implementation for xtensa, since xtensa does not
define __NR_fadvise64. Reuse the ARM support code to restore xtensa support.

This commit is based Mike Frysinger's suggested patch.

Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/common/posix_fadvise.c