sparc: Merge asm-sparc{,64}/termbits.h
PATCH 17/21 sparc: Merge asm-sparc{,64}/termbits.h
The type of tcflag_t differs from 32 and 64 bit. For 32 bit it is long
For 64 bit it is int
Although these have same size then I was not sure that it was OK to change the 64 bit version to long as this is part of the ABI.
Signed-off-by Sam Ravnborg <[email protected]>
--- include/asm-sparc/termbits.h | 5 + include/asm-sparc64/termbits.h | 261 +--------------------------------------- 2 files changed, 6 insertions(+), 260 deletions(-)
include/asm-sparc/termbits.h +5 -0
@@ -5,7 +5,12 @@typedef unsigned char cc_t ;typedef unsigned int speed_t ; + +#if defined(__sparc__) && defined(__arch64__) +typedef unsigned int tcflag_t ; +#else typedef unsigned long tcflag_t ; +#endif #define NCC 8struct termio {
include/asm-sparc64/termbits.h +1 -260
261 lines not on this page · raw message
Signature · 1 line
1.5.4.1.143.ge7e51