aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/types.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-06-18 19:55:27 +0200
committerMichal Simek <monstr@monstr.eu>2009-07-06 10:26:50 +0200
commit81d8279ea31a3fc6d4ffacd87119a04c561ca62e (patch)
treee439dc6343396010bb2ad48fb36137fda118c07b /arch/microblaze/include/asm/types.h
parent8e4a718ff38d8539938ec3421935904c27e00c39 (diff)
downloadkernel_samsung_smdk4412-81d8279ea31a3fc6d4ffacd87119a04c561ca62e.zip
kernel_samsung_smdk4412-81d8279ea31a3fc6d4ffacd87119a04c561ca62e.tar.gz
kernel_samsung_smdk4412-81d8279ea31a3fc6d4ffacd87119a04c561ca62e.tar.bz2
microblaze: fall back on generic header files for the ABI
Almost all of the ABI relevant header files now have generic versions, so use those now in order to reduce the amount of architecture specific code. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/types.h')
-rw-r--r--arch/microblaze/include/asm/types.h39
1 files changed, 1 insertions, 38 deletions
diff --git a/arch/microblaze/include/asm/types.h b/arch/microblaze/include/asm/types.h
index bebc018..b9e79bc 100644
--- a/arch/microblaze/include/asm/types.h
+++ b/arch/microblaze/include/asm/types.h
@@ -1,38 +1 @@
-/*
- * Copyright (C) Atmark Techno, Inc.
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- */
-
-#ifndef _ASM_MICROBLAZE_TYPES_H
-#define _ASM_MICROBLAZE_TYPES_H
-
-/*
- * This file is never included by application software unless
- * explicitly requested (e.g., via linux/types.h) in which case the
- * application is Linux specific so (user-) name space pollution is
- * not a major issue. However, for interoperability, libraries still
- * need to be careful to avoid a name clashes.
- */
-
-#include <asm-generic/int-ll64.h>
-
-# ifndef __ASSEMBLY__
-
-typedef unsigned short umode_t;
-
-/*
- * These aren't exported outside the kernel to avoid name space clashes
- */
-# ifdef __KERNEL__
-# define BITS_PER_LONG 32
-
-/* Dma addresses are 32-bits wide. */
-
-typedef u32 dma_addr_t;
-
-# endif/* __KERNEL__ */
-# endif /* __ASSEMBLY__ */
-#endif /* _ASM_MICROBLAZE_TYPES_H */
+#include <asm-generic/types.h>