Re: SPARC{,64}: kernel_termios_to_user_termios_1 missing

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <vonbrand@...>
Cc: <sparclinux@...>, <linux-kernel@...>
Date: Saturday, September 15, 2007 - 6:36 pm

From: "Horst H. von Brand" <vonbrand@inf.utfsm.cl>
Date: Sat, 15 Sep 2007 17:37:55 -0400


This has been reported and discussed extensively on the lists
over the past 4 or 5 days.

It is a well known issue, and if you just need to get the sparc64
build working so you can test it out just use the patch below:

diff --git a/include/asm-sparc/termios.h b/include/asm-sparc/termios.h
index d767f20..25e9cbb 100644
--- a/include/asm-sparc/termios.h
+++ b/include/asm-sparc/termios.h
@@ -142,6 +142,11 @@ struct winsize {
 	0; \
 })
 
+#define user_termios_to_kernel_termios_1(k, u) \
+	user_termios_to_kernel_termios(k, u)
+#define kernel_termios_to_user_termios_1(u, k) \
+	kernel_termios_to_user_termios(u, k)
+
 #endif	/* __KERNEL__ */
 
 #endif /* _SPARC_TERMIOS_H */
diff --git a/include/asm-sparc64/termios.h b/include/asm-sparc64/termios.h
index f05d390..6fc71e6 100644
--- a/include/asm-sparc64/termios.h
+++ b/include/asm-sparc64/termios.h
@@ -145,6 +145,11 @@ struct winsize {
 	err; \
 })
 
+#define user_termios_to_kernel_termios_1(k, u) \
+	user_termios_to_kernel_termios(k, u)
+#define kernel_termios_to_user_termios_1(u, k) \
+	kernel_termios_to_user_termios(u, k)
+
 #endif	/* __KERNEL__ */
 
 #endif /* _SPARC64_TERMIOS_H */
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
SPARC{,64}: kernel_termios_to_user_termios_1 missing, Horst H. von Brand, (Sat Sep 15, 5:37 pm)
Re: SPARC{,64}: kernel_termios_to_user_termios_1 missing, David Miller, (Sat Sep 15, 6:36 pm)
Re: SPARC{,64}: kernel_termios_to_user_termios_1 missing, Andrew Morton, (Sun Sep 16, 3:42 am)
Re: SPARC{,64}: kernel_termios_to_user_termios_1 missing, Adrian McMenamin, (Sun Sep 16, 1:03 pm)
Re: SPARC{,64}: kernel_termios_to_user_termios_1 missing, David Miller, (Sun Sep 16, 12:49 pm)