asm-generic: rename termios.h, signal.h and mman.h
The existing asm-generic versions are incomplete and included by some architectures. New architectures should be able to use a generic version, so rename the existing files and change all users, which lets us add the new files. Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
committed by
Arnd Bergmann
parent
07a2039b8e
commit
63b852a6b6
@@ -2,9 +2,9 @@ header-y += errno-base.h
|
||||
header-y += errno.h
|
||||
header-y += fcntl.h
|
||||
header-y += ioctl.h
|
||||
header-y += mman.h
|
||||
header-y += mman-common.h
|
||||
header-y += poll.h
|
||||
header-y += signal.h
|
||||
header-y += signal-defs.h
|
||||
header-y += statfs.h
|
||||
|
||||
unifdef-y += int-l64.h
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef _ASM_GENERIC_MMAN_H
|
||||
#define _ASM_GENERIC_MMAN_H
|
||||
#ifndef __ASM_GENERIC_MMAN_COMMON_H
|
||||
#define __ASM_GENERIC_MMAN_COMMON_H
|
||||
|
||||
/*
|
||||
Author: Michael S. Tsirkin <mst@mellanox.co.il>, Mellanox Technologies Ltd.
|
||||
@@ -38,4 +38,4 @@
|
||||
/* compatibility flags */
|
||||
#define MAP_FILE 0
|
||||
|
||||
#endif
|
||||
#endif /* __ASM_GENERIC_MMAN_COMMON_H */
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef __ASM_GENERIC_SIGNAL_H
|
||||
#define __ASM_GENERIC_SIGNAL_H
|
||||
#ifndef __ASM_GENERIC_SIGNAL_DEFS_H
|
||||
#define __ASM_GENERIC_SIGNAL_DEFS_H
|
||||
|
||||
#include <linux/compiler.h>
|
||||
|
||||
@@ -25,4 +25,4 @@ typedef __restorefn_t __user *__sigrestore_t;
|
||||
#define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */
|
||||
#endif
|
||||
|
||||
#endif /* __ASM_GENERIC_SIGNAL_H */
|
||||
#endif /* __ASM_GENERIC_SIGNAL_DEFS_H */
|
||||
@@ -1,8 +1,8 @@
|
||||
/* termios.h: generic termios/termio user copying/translation
|
||||
*/
|
||||
|
||||
#ifndef _ASM_GENERIC_TERMIOS_H
|
||||
#define _ASM_GENERIC_TERMIOS_H
|
||||
#ifndef _ASM_GENERIC_TERMIOS_BASE_H
|
||||
#define _ASM_GENERIC_TERMIOS_BASE_H
|
||||
|
||||
#include <asm/uaccess.h>
|
||||
|
||||
@@ -74,4 +74,4 @@ static inline int kernel_termios_to_user_termio(struct termio __user *termio,
|
||||
|
||||
#endif /* __ARCH_TERMIO_GETPUT */
|
||||
|
||||
#endif /* _ASM_GENERIC_TERMIOS_H */
|
||||
#endif /* _ASM_GENERIC_TERMIOS_BASE_H */
|
||||
Reference in New Issue
Block a user