summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2007-02-06 11:48:28 +1100
committerPaul Mackerras <paulus@samba.org>2007-02-07 14:03:23 +1100
commita2c70211fa072f4076f0e59f909b69105f69072e (patch)
tree7e676b3bdb44a2e30a9891b7dd19923c1624f47c /include/asm-ppc
parent4297c9869b3452860f1a2c588d43f9e62c701019 (diff)
downloadlinux-a2c70211fa072f4076f0e59f909b69105f69072e.tar.gz
linux-a2c70211fa072f4076f0e59f909b69105f69072e.tar.bz2
linux-a2c70211fa072f4076f0e59f909b69105f69072e.zip
[POWERPC] Compile fixes for arch/powerpc dcr code
The new dcr code does not currently compile when configured for native DCR access on ARCH=powerpc. This patch fixes the problems. Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc')
-rw-r--r--include/asm-ppc/ibm4xx.h1
-rw-r--r--include/asm-ppc/reg_booke.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-ppc/ibm4xx.h b/include/asm-ppc/ibm4xx.h
index 499c14691c71..7a64ede53bb6 100644
--- a/include/asm-ppc/ibm4xx.h
+++ b/include/asm-ppc/ibm4xx.h
@@ -15,6 +15,7 @@
#define __ASM_IBM4XX_H__
#include <asm/types.h>
+#include <asm/dcr.h>
#ifdef CONFIG_40x
diff --git a/include/asm-ppc/reg_booke.h b/include/asm-ppc/reg_booke.h
index a263fc1e65c4..82948ed2744a 100644
--- a/include/asm-ppc/reg_booke.h
+++ b/include/asm-ppc/reg_booke.h
@@ -9,8 +9,6 @@
#ifndef __ASM_PPC_REG_BOOKE_H__
#define __ASM_PPC_REG_BOOKE_H__
-#include <asm/dcr.h>
-
#ifndef __ASSEMBLY__
/* Performance Monitor Registers */
#define mfpmr(rn) ({unsigned int rval; \