• A
    ia64: add __NR_umount2 definition · 74cd2184
    Arnd Bergmann 提交于
    Other architectures commonly use __NR_umount2 for sys_umount,
    only ia64 and alpha use __NR_umount here. In order to synchronize
    the generated tables, use umount2 like everyone else, and add back
    the old name from asm/unistd.h for compatibility.
    
    The __IGNORE_* lines are now all obsolete and can be removed as
    a side-effect.
    Signed-off-by: NArnd Bergmann <arnd@arndb.de>
    74cd2184
unistd.h 481 字节
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
 * IA-64 Linux syscall numbers and inline-functions.
 *
 * Copyright (C) 1998-2005 Hewlett-Packard Co
 *	David Mosberger-Tang <davidm@hpl.hp.com>
 */
#ifndef _UAPI_ASM_IA64_UNISTD_H
#define _UAPI_ASM_IA64_UNISTD_H


#include <asm/break.h>

#define __BREAK_SYSCALL	__IA64_BREAK_SYSCALL

#define __NR_Linux      1024

#define __NR_umount __NR_umount2

#include <asm/unistd_64.h>

#endif /* _UAPI_ASM_IA64_UNISTD_H */
反馈
建议
客服 返回
顶部