Skip to content

Commit 04d4d7d

Browse files
committed
[MIPS] Cleanup definitions of speed_t and tcflag_t.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 472f291 commit 04d4d7d

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

include/asm-mips/termbits.h

+3-9
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* License. See the file "COPYING" in the main directory of this archive
44
* for more details.
55
*
6-
* Copyright (C) 1995, 1996, 1999, 2001 Ralf Baechle
6+
* Copyright (C) 1995, 96, 99, 2001, 06 Ralf Baechle
77
* Copyright (C) 1999 Silicon Graphics, Inc.
88
* Copyright (C) 2001 MIPS Technologies, Inc.
99
*/
@@ -13,14 +13,8 @@
1313
#include <linux/posix_types.h>
1414

1515
typedef unsigned char cc_t;
16-
#if (_MIPS_SZLONG == 32)
17-
typedef unsigned long speed_t;
18-
typedef unsigned long tcflag_t;
19-
#endif
20-
#if (_MIPS_SZLONG == 64)
21-
typedef __u32 speed_t;
22-
typedef __u32 tcflag_t;
23-
#endif
16+
typedef unsigned int speed_t;
17+
typedef unsigned int tcflag_t;
2418

2519
/*
2620
* The ABI says nothing about NCC but seems to use NCCS as

0 commit comments

Comments
 (0)