summaryrefslogtreecommitdiffstats
path: root/arch/ppc/syslib/ppc85xx_rio.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/syslib/ppc85xx_rio.c')
-rw-r--r--arch/ppc/syslib/ppc85xx_rio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ppc/syslib/ppc85xx_rio.c b/arch/ppc/syslib/ppc85xx_rio.c
index 05b0e9415085..2b097800cdd9 100644
--- a/arch/ppc/syslib/ppc85xx_rio.c
+++ b/arch/ppc/syslib/ppc85xx_rio.c
@@ -59,8 +59,6 @@
#define DBELL_TID(x) (*(u8 *)(x + DOORBELL_TID_OFFSET))
#define DBELL_INF(x) (*(u16 *)(x + DOORBELL_INFO_OFFSET))
-#define is_power_of_2(x) (((x) & ((x) - 1)) == 0)
-
struct rio_atmu_regs {
u32 rowtar;
u32 pad1;
OpenPOWER on IntegriCloud