aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/bitops.h
diff options
context:
space:
mode:
authorRemis Lima Baima <remis.developer@googlemail.com>2009-06-18 19:55:33 +0200
committerMichal Simek <monstr@monstr.eu>2009-07-06 10:26:55 +0200
commit0a58458341fd571e521be542ff746a4a8995980c (patch)
tree995f6b12689cc2b1a7ebdd013a98754504b77e95 /arch/microblaze/include/asm/bitops.h
parentmicroblaze: use the generic lib/checksum.c (diff)
downloadlinux-dev-0a58458341fd571e521be542ff746a4a8995980c.tar.xz
linux-dev-0a58458341fd571e521be542ff746a4a8995980c.zip
microblaze: convert all simple headers to use asm-generic
All the simple microblaze header files were adapted to use their asm-generic implementations. These files are more simple and were quite straightforward to change. fb.h, vga.h and parport.h previously did not exist, using the generic version makes it possible to build more drivers successfully in allyesonfig. Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/bitops.h')
-rw-r--r--arch/microblaze/include/asm/bitops.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/microblaze/include/asm/bitops.h b/arch/microblaze/include/asm/bitops.h
index d6df1fd4e1e8..a72468f15c8b 100644
--- a/arch/microblaze/include/asm/bitops.h
+++ b/arch/microblaze/include/asm/bitops.h
@@ -1,27 +1 @@
-/*
- * Copyright (C) 2006 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_BITOPS_H
-#define _ASM_MICROBLAZE_BITOPS_H
-
-/*
- * Copyright 1992, Linus Torvalds.
- */
-
-#include <asm/byteorder.h> /* swab32 */
-#include <asm/system.h> /* save_flags */
-
-/*
- * clear_bit() doesn't provide any barrier for the compiler.
- */
-#define smp_mb__before_clear_bit() barrier()
-#define smp_mb__after_clear_bit() barrier()
#include <asm-generic/bitops.h>
-#include <asm-generic/bitops/__fls.h>
-
-#endif /* _ASM_MICROBLAZE_BITOPS_H */