Optimize andes_clear_page() and andes_copy_page() with prefetch
[linux-2.6/linux-mips.git] / include / asm-sparc64 / types.h
blobb1ccfc5236d16d02db3d1c95b27ebcebd2b6eaff
1 /* $Id: types.h,v 1.3 2000/01/28 13:43:15 jj Exp $ */
2 #ifndef _SPARC64_TYPES_H
3 #define _SPARC64_TYPES_H
5 /*
6 * This file is never included by application software unless
7 * explicitly requested (e.g., via linux/types.h) in which case the
8 * application is Linux specific so (user-) name space pollution is
9 * not a major issue. However, for interoperability, libraries still
10 * need to be careful to avoid a name clashes.
13 typedef unsigned short umode_t;
16 * _xx is ok: it doesn't pollute the POSIX namespace. Use these in the
17 * header files exported to user space.
20 typedef __signed__ char __s8;
21 typedef unsigned char __u8;
23 typedef __signed__ short __s16;
24 typedef unsigned short __u16;
26 typedef __signed__ int __s32;
27 typedef unsigned int __u32;
29 typedef __signed__ long __s64;
30 typedef unsigned long __u64;
32 #ifdef __KERNEL__
34 typedef __signed__ char s8;
35 typedef unsigned char u8;
37 typedef __signed__ short s16;
38 typedef unsigned short u16;
40 typedef __signed__ int s32;
41 typedef unsigned int u32;
43 typedef __signed__ long s64;
44 typedef unsigned long u64;
46 #define BITS_PER_LONG 64
48 /* Dma addresses are 32-bits wide for now. */
50 typedef u32 dma_addr_t;
52 #endif /* __KERNEL__ */
54 #endif /* defined(_SPARC64_TYPES_H) */