Commit 04d4d7d5 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Cleanup definitions of speed_t and tcflag_t.


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 472f291d
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* License. See the file "COPYING" in the main directory of this archive * License. See the file "COPYING" in the main directory of this archive
* for more details. * for more details.
* *
* Copyright (C) 1995, 1996, 1999, 2001 Ralf Baechle * Copyright (C) 1995, 96, 99, 2001, 06 Ralf Baechle
* Copyright (C) 1999 Silicon Graphics, Inc. * Copyright (C) 1999 Silicon Graphics, Inc.
* Copyright (C) 2001 MIPS Technologies, Inc. * Copyright (C) 2001 MIPS Technologies, Inc.
*/ */
...@@ -13,14 +13,8 @@ ...@@ -13,14 +13,8 @@
#include <linux/posix_types.h> #include <linux/posix_types.h>
typedef unsigned char cc_t; typedef unsigned char cc_t;
#if (_MIPS_SZLONG == 32) typedef unsigned int speed_t;
typedef unsigned long speed_t; typedef unsigned int tcflag_t;
typedef unsigned long tcflag_t;
#endif
#if (_MIPS_SZLONG == 64)
typedef __u32 speed_t;
typedef __u32 tcflag_t;
#endif
/* /*
* The ABI says nothing about NCC but seems to use NCCS as * The ABI says nothing about NCC but seems to use NCCS as
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment