Blame view
include/asm-frv/types.h
841 Bytes
1da177e4c Linux-2.6.12-rc2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
/* types.h: FRV types * * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #ifndef _ASM_TYPES_H #define _ASM_TYPES_H |
8f337b539 frv: types: use <... |
14 |
#include <asm-generic/int-ll64.h> |
1da177e4c Linux-2.6.12-rc2 |
15 16 17 |
#ifndef __ASSEMBLY__ typedef unsigned short umode_t; |
1da177e4c Linux-2.6.12-rc2 |
18 19 20 21 22 23 24 25 26 27 |
#endif /* __ASSEMBLY__ */ /* * These aren't exported outside the kernel to avoid name space clashes */ #ifdef __KERNEL__ #define BITS_PER_LONG 32 #ifndef __ASSEMBLY__ |
1da177e4c Linux-2.6.12-rc2 |
28 29 30 |
/* Dma addresses are 32-bits wide. */ typedef u32 dma_addr_t; |
1da177e4c Linux-2.6.12-rc2 |
31 32 33 34 35 |
#endif /* __ASSEMBLY__ */ #endif /* __KERNEL__ */ #endif /* _ASM_TYPES_H */ |