[PATCH] powerpc: Make ppc_md.set_dabr non 64-bit specific
[deliverable/linux.git] / arch / powerpc / kernel / process.c
index 96843211cc5c3187ff09fbe8c6690626f9792f93..29f6e875cf1c77b8020d05784a94f70feb7f975a 100644 (file)
 #include <asm/processor.h>
 #include <asm/mmu.h>
 #include <asm/prom.h>
+#include <asm/machdep.h>
 #ifdef CONFIG_PPC64
 #include <asm/firmware.h>
 #include <asm/time.h>
-#include <asm/machdep.h>
 #endif
 
 extern unsigned long _get_SP(void);
@@ -203,10 +203,8 @@ int dump_spe(struct pt_regs *regs, elf_vrregset_t *evrregs)
 
 int set_dabr(unsigned long dabr)
 {
-#ifdef CONFIG_PPC64
        if (ppc_md.set_dabr)
                return ppc_md.set_dabr(dabr);
-#endif
 
        mtspr(SPRN_DABR, dabr);
        return 0;
This page took 0.029979 seconds and 5 git commands to generate.