Skip to content

Commit

Permalink
[PATCH] Move 3 more headers to asm-powerpc
Browse files Browse the repository at this point in the history
Merged several nearly-identical header files from asm-ppc and asm-ppc64
into asm-powerpc.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Becky Bruce authored and Paul Mackerras committed Sep 6, 2005
1 parent b2c0ab1 commit ad6571a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 472 deletions.
6 changes: 3 additions & 3 deletions include/asm-ppc64/mman.h → include/asm-powerpc/mman.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __PPC64_MMAN_H__
#define __PPC64_MMAN_H__
#ifndef _POWERPC_MMAN_H
#define _POWERPC_MMAN_H

/*
* This program is free software; you can redistribute it and/or
Expand Down Expand Up @@ -49,4 +49,4 @@
#define MAP_ANON MAP_ANONYMOUS
#define MAP_FILE 0

#endif /* __PPC64_MMAN_H__ */
#endif /* _POWERPC_MMAN_H */
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _PPC64_TERMBITS_H
#define _PPC64_TERMBITS_H
#ifndef _POWERPC_TERMBITS_H
#define _POWERPC_TERMBITS_H

/*
* This program is free software; you can redistribute it and/or
Expand All @@ -8,8 +8,6 @@
* 2 of the License, or (at your option) any later version.
*/

#include <linux/posix_types.h>

typedef unsigned char cc_t;
typedef unsigned int speed_t;
typedef unsigned int tcflag_t;
Expand Down Expand Up @@ -190,4 +188,4 @@ struct termios {
#define TCSADRAIN 1
#define TCSAFLUSH 2

#endif /* _PPC64_TERMBITS_H */
#endif /* _POWERPC_TERMBITS_H */
7 changes: 4 additions & 3 deletions include/asm-ppc64/termios.h → include/asm-powerpc/termios.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _PPC64_TERMIOS_H
#define _PPC64_TERMIOS_H
#ifndef _POWERPC_TERMIOS_H
#define _POWERPC_TERMIOS_H

/*
* Liberally adapted from alpha/termios.h. In particular, the c_cc[]
Expand Down Expand Up @@ -87,6 +87,7 @@ struct termio {
#define N_SMSBLOCK 12 /* SMS block mode - for talking to GSM data cards about SMS messages */
#define N_HDLC 13 /* synchronous HDLC */
#define N_SYNC_PPP 14
#define N_HCI 15 /* Bluetooth HCI UART */

#ifdef __KERNEL__
/* ^C ^\ del ^U ^D 1 0 0 0 0 ^W ^R ^Z ^Q ^S ^V ^U */
Expand Down Expand Up @@ -232,4 +233,4 @@ struct termio {

#endif /* __KERNEL__ */

#endif /* _PPC64_TERMIOS_H */
#endif /* _POWERPC_TERMIOS_H */
44 changes: 0 additions & 44 deletions include/asm-ppc/mman.h

This file was deleted.

185 changes: 0 additions & 185 deletions include/asm-ppc/termbits.h

This file was deleted.

Loading

0 comments on commit ad6571a

Please sign in to comment.