Fwd:
Subsystems (4)
---------- Forwarded Message ----------
Subject:
Date: Monday 27 April 2009
From: [email protected]
To: "no To-header on input" <unlisted-recipients:; @gmail-pop.l.google.com>
Quoted 1 line
From [email protected] Mon Apr 27 16:28:40 2009
References: <[email protected]>
User-Agent: quilt/0.46-1
Date: Mon, 27 Apr 2009 16:20:11 +0200
From: [email protected]
To: [email protected]
Cc: [email protected],
[email protected],
[email protected],
[email protected],
[email protected],
Sam Ravnborg <[email protected]>,
Remis Lima Baima <[email protected]>
Subject: [RFC 01/17] asm-generic: rename termios.h to termios-base.h
Content-Disposition: inline; filename=0001-asm-generic-add-complete- termios.h.patch
X-Provags-ID: V01U2FsdGVkX1/xu4vJssORo5JEwJmCN0zaKrLACm0pXgcgS8L
nEdWOCrcNmDlQGMPLb2pcu4w/QxDwJ8yUkFlayzHvuBS0VbefM dtqNTnEx2sYlQA9QUc7pA==
The existing asm-generic/termios.h file only contains a part of the required termios.h contents. This renames it to termios-base.h and changes all users, so we can add a full termios.h file for new archtitectures.
---
arch/avr32/include/asm/termios.h | 2 1 + 1 - 0 ! arch/frv/include/asm/termios.h | 2 1 + 1 - 0 ! arch/microblaze/include/asm/termios.h | 2 1 + 1 - 0 ! arch/powerpc/include/asm/termios.h | 2 1 + 1 - 0 ! arch/s390/include/asm/termios.h | 2 1 + 1 - 0 ! include/asm-generic/termios-base.h | 77 77 + 0 - 0 ! include/asm-generic/termios.h | 77 0 + 77 - 0 ! 7 files changed, 82 insertions(+), 82 deletions(-) create mode 100644 include/asm-generic/termios-base.h
arch/avr32/include/asm/termios.h +0 -0
@@ -55,7 +55,7 @@ struct termio {*/ #define INIT_C_CC
"\003\034\177\025\004\0\1\0\021\023\032\0\022\017\027\026\0"
-#include <asm-generic/termios.h>
+#include <asm-generic/termios-base.h>
#endif /* __KERNEL__ */
arch/frv/include/asm/termios.h +1 -1
@@ -52,7 +52,7 @@ struct termio {/* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */ #ifdef __KERNEL__ -#include <asm-generic/termios.h> +#include <asm-generic/termios-base.h> #endif #endif /* _ASM_TERMIOS_H */
arch/powerpc/include/asm/termios.h +1 -1
@@ -78,7 +78,7 @@ struct termio {#ifdef __KERNEL__ -#include <asm-generic/termios.h> +#include <asm-generic/termios-base.h> #endif /* __KERNEL__ */
arch/s390/include/asm/termios.h +0 -0
@@ -60,7 +60,7 @@ struct termio {#define user_termios_to_kernel_termios (k, u) copy_from_user(k, u,
sizeof(struct termios2))
#define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct
termios2))
-#include <asm-generic/termios.h>
+#include <asm-generic/termios-base.h>
#endif /* __KERNEL__ */
include/asm-generic/termios-base.h new file +65 -0
65 lines not on this page · raw message
sizeof(struct termios))
+#endif
+
+#ifndef kernel_termios_to_user_termios
+#define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios))
+#endif
+
+#define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios))
+#define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios))
+
+#endif /* __ARCH_TERMIO_GETPUT */
+
+#endif /* _ASM_GENERIC_TERMIOS_BASE_H */
include/asm-generic/termios.h deleted +0 -65
65 lines not on this page · raw message
sizeof(struct termios))
-#endif
-
-#ifndef kernel_termios_to_user_termios
-#define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios))
-#endif
-
-#define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios))
-#define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios))
-
-#endif /* __ARCH_TERMIO_GETPUT */
-
-#endif /* _ASM_GENERIC_TERMIOS_H */
arch/microblaze/include/asm/termios.h +1 -1
@@ -81,7 +81,7 @@ struct termio {#ifdef __KERNEL__ -#include <asm-generic/termios.h> +#include <asm-generic/termios-base.h> #endif /* __KERNEL__ */
Signature · 16 lines
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ------------------------------------------------------- -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) "The four building blocks of the universe are fire, water, gravel and vinyl." -- Dave Barry