diff options
| author | Ralf Baechle <ralf@linux-mips.org> | 2013-01-22 06:59:30 -0500 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2013-02-01 04:00:22 -0500 |
| commit | 7034228792cc561e79ff8600f02884bd4c80e287 (patch) | |
| tree | 89b77af37d087d9de236fc5d21f60bf552d0a2c6 /arch/mips/include/asm/fw | |
| parent | 405ab01c70e18058d9c01a1256769a61fc65413e (diff) | |
MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this
once and for all rather than dealing with this kind of patches trickling
in forever.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/fw')
| -rw-r--r-- | arch/mips/include/asm/fw/arc/hinv.h | 10 | ||||
| -rw-r--r-- | arch/mips/include/asm/fw/arc/types.h | 12 | ||||
| -rw-r--r-- | arch/mips/include/asm/fw/cfe/cfe_api.h | 6 | ||||
| -rw-r--r-- | arch/mips/include/asm/fw/cfe/cfe_error.h | 18 |
4 files changed, 23 insertions, 23 deletions
diff --git a/arch/mips/include/asm/fw/arc/hinv.h b/arch/mips/include/asm/fw/arc/hinv.h index e6ff4add04e2..f8d37d1df5de 100644 --- a/arch/mips/include/asm/fw/arc/hinv.h +++ b/arch/mips/include/asm/fw/arc/hinv.h | |||
| @@ -12,7 +12,7 @@ typedef enum configclass { | |||
| 12 | SystemClass, | 12 | SystemClass, |
| 13 | ProcessorClass, | 13 | ProcessorClass, |
| 14 | CacheClass, | 14 | CacheClass, |
| 15 | #ifndef _NT_PROM | 15 | #ifndef _NT_PROM |
| 16 | MemoryClass, | 16 | MemoryClass, |
| 17 | AdapterClass, | 17 | AdapterClass, |
| 18 | ControllerClass, | 18 | ControllerClass, |
| @@ -34,7 +34,7 @@ typedef enum configtype { | |||
| 34 | SecondaryICache, | 34 | SecondaryICache, |
| 35 | SecondaryDCache, | 35 | SecondaryDCache, |
| 36 | SecondaryCache, | 36 | SecondaryCache, |
| 37 | #ifndef _NT_PROM | 37 | #ifndef _NT_PROM |
| 38 | Memory, | 38 | Memory, |
| 39 | #endif | 39 | #endif |
| 40 | EISAAdapter, | 40 | EISAAdapter, |
| @@ -93,7 +93,7 @@ typedef enum { | |||
| 93 | } IDENTIFIERFLAG; | 93 | } IDENTIFIERFLAG; |
| 94 | 94 | ||
| 95 | #ifndef NULL /* for GetChild(NULL); */ | 95 | #ifndef NULL /* for GetChild(NULL); */ |
| 96 | #define NULL 0 | 96 | #define NULL 0 |
| 97 | #endif | 97 | #endif |
| 98 | 98 | ||
| 99 | union key_u { | 99 | union key_u { |
| @@ -125,7 +125,7 @@ typedef struct component { | |||
| 125 | IDENTIFIERFLAG Flags; | 125 | IDENTIFIERFLAG Flags; |
| 126 | USHORT Version; | 126 | USHORT Version; |
| 127 | USHORT Revision; | 127 | USHORT Revision; |
| 128 | ULONG Key; | 128 | ULONG Key; |
| 129 | ULONG AffinityMask; | 129 | ULONG AffinityMask; |
| 130 | ULONG ConfigurationDataSize; | 130 | ULONG ConfigurationDataSize; |
| 131 | ULONG IdentifierLength; | 131 | ULONG IdentifierLength; |
| @@ -149,7 +149,7 @@ typedef struct systemid { | |||
| 149 | typedef enum memorytype { | 149 | typedef enum memorytype { |
| 150 | ExceptionBlock, | 150 | ExceptionBlock, |
| 151 | SPBPage, /* ARCS == SystemParameterBlock */ | 151 | SPBPage, /* ARCS == SystemParameterBlock */ |
| 152 | #ifndef _NT_PROM | 152 | #ifndef _NT_PROM |
| 153 | FreeContiguous, | 153 | FreeContiguous, |
| 154 | FreeMemory, | 154 | FreeMemory, |
| 155 | BadMemory, | 155 | BadMemory, |
diff --git a/arch/mips/include/asm/fw/arc/types.h b/arch/mips/include/asm/fw/arc/types.h index 2b11f87d6fb3..ad163806148a 100644 --- a/arch/mips/include/asm/fw/arc/types.h +++ b/arch/mips/include/asm/fw/arc/types.h | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | typedef char CHAR; | 15 | typedef char CHAR; |
| 16 | typedef short SHORT; | 16 | typedef short SHORT; |
| 17 | typedef long LARGE_INTEGER __attribute__ ((__mode__ (__DI__))); | 17 | typedef long LARGE_INTEGER __attribute__ ((__mode__ (__DI__))); |
| 18 | typedef long LONG __attribute__ ((__mode__ (__SI__))); | 18 | typedef long LONG __attribute__ ((__mode__ (__SI__))); |
| 19 | typedef unsigned char UCHAR; | 19 | typedef unsigned char UCHAR; |
| 20 | typedef unsigned short USHORT; | 20 | typedef unsigned short USHORT; |
| 21 | typedef unsigned long ULONG __attribute__ ((__mode__ (__SI__))); | 21 | typedef unsigned long ULONG __attribute__ ((__mode__ (__SI__))); |
| @@ -23,11 +23,11 @@ typedef void VOID; | |||
| 23 | 23 | ||
| 24 | /* The pointer types. Note that we're using a 64-bit compiler but all | 24 | /* The pointer types. Note that we're using a 64-bit compiler but all |
| 25 | pointer in the ARC structures are only 32-bit, so we need some disgusting | 25 | pointer in the ARC structures are only 32-bit, so we need some disgusting |
| 26 | workarounds. Keep your vomit bag handy. */ | 26 | workarounds. Keep your vomit bag handy. */ |
| 27 | typedef LONG _PCHAR; | 27 | typedef LONG _PCHAR; |
| 28 | typedef LONG _PSHORT; | 28 | typedef LONG _PSHORT; |
| 29 | typedef LONG _PLARGE_INTEGER; | 29 | typedef LONG _PLARGE_INTEGER; |
| 30 | typedef LONG _PLONG; | 30 | typedef LONG _PLONG; |
| 31 | typedef LONG _PUCHAR; | 31 | typedef LONG _PUCHAR; |
| 32 | typedef LONG _PUSHORT; | 32 | typedef LONG _PUSHORT; |
| 33 | typedef LONG _PULONG; | 33 | typedef LONG _PULONG; |
| @@ -40,7 +40,7 @@ typedef LONG _PVOID; | |||
| 40 | typedef char CHAR; | 40 | typedef char CHAR; |
| 41 | typedef short SHORT; | 41 | typedef short SHORT; |
| 42 | typedef long LARGE_INTEGER __attribute__ ((__mode__ (__DI__))); | 42 | typedef long LARGE_INTEGER __attribute__ ((__mode__ (__DI__))); |
| 43 | typedef long LONG __attribute__ ((__mode__ (__DI__))); | 43 | typedef long LONG __attribute__ ((__mode__ (__DI__))); |
| 44 | typedef unsigned char UCHAR; | 44 | typedef unsigned char UCHAR; |
| 45 | typedef unsigned short USHORT; | 45 | typedef unsigned short USHORT; |
| 46 | typedef unsigned long ULONG __attribute__ ((__mode__ (__DI__))); | 46 | typedef unsigned long ULONG __attribute__ ((__mode__ (__DI__))); |
| @@ -51,7 +51,7 @@ typedef void VOID; | |||
| 51 | typedef CHAR *_PCHAR; | 51 | typedef CHAR *_PCHAR; |
| 52 | typedef SHORT *_PSHORT; | 52 | typedef SHORT *_PSHORT; |
| 53 | typedef LARGE_INTEGER *_PLARGE_INTEGER; | 53 | typedef LARGE_INTEGER *_PLARGE_INTEGER; |
| 54 | typedef LONG *_PLONG; | 54 | typedef LONG *_PLONG; |
| 55 | typedef UCHAR *_PUCHAR; | 55 | typedef UCHAR *_PUCHAR; |
| 56 | typedef USHORT *_PUSHORT; | 56 | typedef USHORT *_PUSHORT; |
| 57 | typedef ULONG *_PULONG; | 57 | typedef ULONG *_PULONG; |
| @@ -62,7 +62,7 @@ typedef VOID *_PVOID; | |||
| 62 | typedef CHAR *PCHAR; | 62 | typedef CHAR *PCHAR; |
| 63 | typedef SHORT *PSHORT; | 63 | typedef SHORT *PSHORT; |
| 64 | typedef LARGE_INTEGER *PLARGE_INTEGER; | 64 | typedef LARGE_INTEGER *PLARGE_INTEGER; |
| 65 | typedef LONG *PLONG; | 65 | typedef LONG *PLONG; |
| 66 | typedef UCHAR *PUCHAR; | 66 | typedef UCHAR *PUCHAR; |
| 67 | typedef USHORT *PUSHORT; | 67 | typedef USHORT *PUSHORT; |
| 68 | typedef ULONG *PULONG; | 68 | typedef ULONG *PULONG; |
diff --git a/arch/mips/include/asm/fw/cfe/cfe_api.h b/arch/mips/include/asm/fw/cfe/cfe_api.h index 0995575db320..17347551a1b2 100644 --- a/arch/mips/include/asm/fw/cfe/cfe_api.h +++ b/arch/mips/include/asm/fw/cfe/cfe_api.h | |||
| @@ -40,7 +40,7 @@ typedef long intptr_t; | |||
| 40 | /* Seal indicating CFE's presence, passed to user program. */ | 40 | /* Seal indicating CFE's presence, passed to user program. */ |
| 41 | #define CFE_EPTSEAL 0x43464531 | 41 | #define CFE_EPTSEAL 0x43464531 |
| 42 | 42 | ||
| 43 | #define CFE_MI_RESERVED 0 /* memory is reserved, do not use */ | 43 | #define CFE_MI_RESERVED 0 /* memory is reserved, do not use */ |
| 44 | #define CFE_MI_AVAILABLE 1 /* memory is available */ | 44 | #define CFE_MI_AVAILABLE 1 /* memory is available */ |
| 45 | 45 | ||
| 46 | #define CFE_FLG_WARMSTART 0x00000001 | 46 | #define CFE_FLG_WARMSTART 0x00000001 |
| @@ -52,13 +52,13 @@ typedef long intptr_t; | |||
| 52 | 52 | ||
| 53 | #define CFE_STDHANDLE_CONSOLE 0 | 53 | #define CFE_STDHANDLE_CONSOLE 0 |
| 54 | 54 | ||
| 55 | #define CFE_DEV_NETWORK 1 | 55 | #define CFE_DEV_NETWORK 1 |
| 56 | #define CFE_DEV_DISK 2 | 56 | #define CFE_DEV_DISK 2 |
| 57 | #define CFE_DEV_FLASH 3 | 57 | #define CFE_DEV_FLASH 3 |
| 58 | #define CFE_DEV_SERIAL 4 | 58 | #define CFE_DEV_SERIAL 4 |
| 59 | #define CFE_DEV_CPU 5 | 59 | #define CFE_DEV_CPU 5 |
| 60 | #define CFE_DEV_NVRAM 6 | 60 | #define CFE_DEV_NVRAM 6 |
| 61 | #define CFE_DEV_CLOCK 7 | 61 | #define CFE_DEV_CLOCK 7 |
| 62 | #define CFE_DEV_OTHER 8 | 62 | #define CFE_DEV_OTHER 8 |
| 63 | #define CFE_DEV_MASK 0x0F | 63 | #define CFE_DEV_MASK 0x0F |
| 64 | 64 | ||
diff --git a/arch/mips/include/asm/fw/cfe/cfe_error.h b/arch/mips/include/asm/fw/cfe/cfe_error.h index b80374636279..fc0e91f07e22 100644 --- a/arch/mips/include/asm/fw/cfe/cfe_error.h +++ b/arch/mips/include/asm/fw/cfe/cfe_error.h | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | */ | 25 | */ |
| 26 | 26 | ||
| 27 | #define CFE_OK 0 | 27 | #define CFE_OK 0 |
| 28 | #define CFE_ERR -1 /* generic error */ | 28 | #define CFE_ERR -1 /* generic error */ |
| 29 | #define CFE_ERR_INV_COMMAND -2 | 29 | #define CFE_ERR_INV_COMMAND -2 |
| 30 | #define CFE_ERR_EOF -3 | 30 | #define CFE_ERR_EOF -3 |
| 31 | #define CFE_ERR_IOERR -4 | 31 | #define CFE_ERR_IOERR -4 |
| @@ -37,12 +37,12 @@ | |||
| 37 | #define CFE_ERR_ENVREADONLY -10 | 37 | #define CFE_ERR_ENVREADONLY -10 |
| 38 | 38 | ||
| 39 | #define CFE_ERR_NOTELF -11 | 39 | #define CFE_ERR_NOTELF -11 |
| 40 | #define CFE_ERR_NOT32BIT -12 | 40 | #define CFE_ERR_NOT32BIT -12 |
| 41 | #define CFE_ERR_WRONGENDIAN -13 | 41 | #define CFE_ERR_WRONGENDIAN -13 |
| 42 | #define CFE_ERR_BADELFVERS -14 | 42 | #define CFE_ERR_BADELFVERS -14 |
| 43 | #define CFE_ERR_NOTMIPS -15 | 43 | #define CFE_ERR_NOTMIPS -15 |
| 44 | #define CFE_ERR_BADELFFMT -16 | 44 | #define CFE_ERR_BADELFFMT -16 |
| 45 | #define CFE_ERR_BADADDR -17 | 45 | #define CFE_ERR_BADADDR -17 |
| 46 | 46 | ||
| 47 | #define CFE_ERR_FILENOTFOUND -18 | 47 | #define CFE_ERR_FILENOTFOUND -18 |
| 48 | #define CFE_ERR_UNSUPPORTED -19 | 48 | #define CFE_ERR_UNSUPPORTED -19 |
| @@ -73,8 +73,8 @@ | |||
| 73 | 73 | ||
| 74 | #define CFE_ERR_NOTREADY -36 | 74 | #define CFE_ERR_NOTREADY -36 |
| 75 | 75 | ||
| 76 | #define CFE_ERR_GETMEM -37 | 76 | #define CFE_ERR_GETMEM -37 |
| 77 | #define CFE_ERR_SETMEM -38 | 77 | #define CFE_ERR_SETMEM -38 |
| 78 | 78 | ||
| 79 | #define CFE_ERR_NOTCONN -39 | 79 | #define CFE_ERR_NOTCONN -39 |
| 80 | #define CFE_ERR_ADDRINUSE -40 | 80 | #define CFE_ERR_ADDRINUSE -40 |
