Merge branch 'topic/fix/hda' into for-linus
[deliverable/linux.git] / arch / parisc / include / asm / types.h
CommitLineData
1da177e4
LT
1#ifndef _PARISC_TYPES_H
2#define _PARISC_TYPES_H
3
849bf3a0
PA
4#include <asm-generic/int-ll64.h>
5
1da177e4
LT
6#ifndef __ASSEMBLY__
7
8typedef unsigned short umode_t;
9
1da177e4
LT
10#endif /* __ASSEMBLY__ */
11
12/*
13 * These aren't exported outside the kernel to avoid name space clashes
14 */
15#ifdef __KERNEL__
16
513e7ecd 17#ifdef CONFIG_64BIT
1da177e4 18#define BITS_PER_LONG 64
a366064c 19#define SHIFT_PER_LONG 6
1da177e4
LT
20#else
21#define BITS_PER_LONG 32
a366064c 22#define SHIFT_PER_LONG 5
1da177e4
LT
23#endif
24
25#ifndef __ASSEMBLY__
26
1da177e4
LT
27/* Dma addresses are 32-bits wide. */
28
29typedef u32 dma_addr_t;
30typedef u64 dma64_addr_t;
31
1da177e4
LT
32#endif /* __ASSEMBLY__ */
33
34#endif /* __KERNEL__ */
35
36#endif
This page took 0.408961 seconds and 5 git commands to generate.