summaryrefslogtreecommitdiffstats
path: root/arch/parisc/lib/libgcc/__clzsi2.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-12-06 12:26:17 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-12-06 12:26:17 -0800
commite1b7361f32fdf60f575566ddef8a36b33086631d (patch)
treeee5e64036a4f99159d63d71fa603cf582729ef3a /arch/parisc/lib/libgcc/__clzsi2.c
parentceaeee6ad6c2a24bf37d9f426414cf3007432352 (diff)
parent84f4506cb788d85a50c97b399f2999f90e6272b0 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6: [PARISC] lba_pci: pci_claim_resources disabled expansion roms [PARISC] print more than one character at a time for pdc console [PARISC] Update parisc-linux MAINTAINERS entries [PARISC] timer interrupt should not be IRQ_DISABLED Revert "[PARISC] import necessary bits of libgcc.a"
Diffstat (limited to 'arch/parisc/lib/libgcc/__clzsi2.c')
-rw-r--r--arch/parisc/lib/libgcc/__clzsi2.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/arch/parisc/lib/libgcc/__clzsi2.c b/arch/parisc/lib/libgcc/__clzsi2.c
deleted file mode 100644
index a7aa2f55a9c..00000000000
--- a/arch/parisc/lib/libgcc/__clzsi2.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#include "libgcc.h"
-
-u32 __clzsi2(u32 v)
-{
- int p = 31;
-
- if (v & 0xffff0000) {
- p -= 16;
- v >>= 16;
- }
- if (v & 0xff00) {
- p -= 8;
- v >>= 8;
- }
- if (v & 0xf0) {
- p -= 4;
- v >>= 4;
- }
- if (v & 0xc) {
- p -= 2;
- v >>= 2;
- }
- if (v & 0x2) {
- p -= 1;
- v >>= 1;
- }
-
- return p;
-}
-EXPORT_SYMBOL(__clzsi2);