aboutsummaryrefslogtreecommitdiff
path: root/src/arch/ppc/include/bitops.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-10-28 19:38:58 +0000
committerStefan Reinauer <stepan@openbios.org>2009-10-28 19:38:58 +0000
commite696942cfc6d970d9a774815cc81bf1d771c857b (patch)
tree810516e157f08970fc6e9b2b5c07d1c6f176726d /src/arch/ppc/include/bitops.h
parent8d09e231fed1395b82227ce374dca4be32e77845 (diff)
Drop remainder of PPC port
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4884 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/ppc/include/bitops.h')
-rw-r--r--src/arch/ppc/include/bitops.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/arch/ppc/include/bitops.h b/src/arch/ppc/include/bitops.h
deleted file mode 100644
index 23cfa66077..0000000000
--- a/src/arch/ppc/include/bitops.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef I386_BITOPS_H
-#define I386_BITOPS_H
-
-/**
- * log2 - Find the truncated log base 2 of x
- */
-
-static inline unsigned long log2(unsigned long x)
-{
- unsigned long r = 0;
- /*
- __asm__(
- "bsrl %1, %0\n\t"
- "jnz 1f\n\t"
- "movl $-1, %0\n\t"
- "1:\n\t"
- : "=r" (r) : "r" (x));
- */
- return r;
-
-}
-#endif /* I386_BITOPS_H */