knfsd: Replace lock_kernel with a mutex for nfsd thread startup/shutdown locking.
[linux-2.6/mini2440.git] / include / asm-sparc / types.h
blob1b08ef860a6654f768de3cdadcbd25380fa8a83b
1 /* $Id: types.h,v 1.13 2001/12/21 01:22:59 davem Exp $ */
2 #ifndef _SPARC_TYPES_H
3 #define _SPARC_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.
12 #include <asm-generic/int-ll64.h>
14 #ifndef __ASSEMBLY__
16 typedef unsigned short umode_t;
18 #endif /* __ASSEMBLY__ */
20 #ifdef __KERNEL__
22 #define BITS_PER_LONG 32
24 #ifndef __ASSEMBLY__
26 typedef u32 dma_addr_t;
27 typedef u32 dma64_addr_t;
29 #endif /* __ASSEMBLY__ */
31 #endif /* __KERNEL__ */
33 #endif /* defined(_SPARC_TYPES_H) */