Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95938
b: refs/heads/master
c: 0dc7947
h: refs/heads/master
v: v3
  • Loading branch information
H. Peter Anvin committed May 2, 2008
1 parent 3b62d50 commit bde9bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3727dc6c21cd0bed64dbc97212c39d2b391f5af
refs/heads/master: 0dc794754cba8e3e8eb39bc028cb88c5d6ed506b
30 changes: 1 addition & 29 deletions trunk/include/asm-sparc64/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,12 @@
* not a major issue. However, for interoperability, libraries still
* need to be careful to avoid a name clashes.
*/
#include <asm-generic/int-l64.h>

#ifndef __ASSEMBLY__

typedef unsigned short umode_t;

/*
* _xx is ok: it doesn't pollute the POSIX namespace. Use these in the
* header files exported to user space.
*/

typedef __signed__ char __s8;
typedef unsigned char __u8;

typedef __signed__ short __s16;
typedef unsigned short __u16;

typedef __signed__ int __s32;
typedef unsigned int __u32;

typedef __signed__ long __s64;
typedef unsigned long __u64;

#endif /* __ASSEMBLY__ */

#ifdef __KERNEL__
Expand All @@ -39,18 +23,6 @@ typedef unsigned long __u64;

#ifndef __ASSEMBLY__

typedef __signed__ char s8;
typedef unsigned char u8;

typedef __signed__ short s16;
typedef unsigned short u16;

typedef __signed__ int s32;
typedef unsigned int u32;

typedef __signed__ long s64;
typedef unsigned long u64;

/* Dma addresses come in generic and 64-bit flavours. */

typedef u32 dma_addr_t;
Expand Down

0 comments on commit bde9bda

Please sign in to comment.