diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 23:23:46 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 23:23:46 -0500 |
| commit | f093182d313edde9b1f86dbdaf40ba4da2dbd0e7 (patch) | |
| tree | ecfc614d514bd5b43a98cf4c62fdd2f47d86e33c /arch/powerpc/kernel/process.c | |
| parent | d27ba47e7e8c466c18983a1779d611f82d6a354f (diff) | |
| parent | 76c8e25b905f99be5ddbe999597ba7c2c33ec64b (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge
Diffstat (limited to 'arch/powerpc/kernel/process.c')
| -rw-r--r-- | arch/powerpc/kernel/process.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 7f64f0464d44..de69fb37c731 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
| @@ -46,10 +46,10 @@ | |||
| 46 | #include <asm/processor.h> | 46 | #include <asm/processor.h> |
| 47 | #include <asm/mmu.h> | 47 | #include <asm/mmu.h> |
| 48 | #include <asm/prom.h> | 48 | #include <asm/prom.h> |
| 49 | #include <asm/machdep.h> | ||
| 49 | #ifdef CONFIG_PPC64 | 50 | #ifdef CONFIG_PPC64 |
| 50 | #include <asm/firmware.h> | 51 | #include <asm/firmware.h> |
| 51 | #include <asm/time.h> | 52 | #include <asm/time.h> |
| 52 | #include <asm/machdep.h> | ||
| 53 | #endif | 53 | #endif |
| 54 | 54 | ||
| 55 | extern unsigned long _get_SP(void); | 55 | extern unsigned long _get_SP(void); |
| @@ -203,10 +203,8 @@ int dump_spe(struct pt_regs *regs, elf_vrregset_t *evrregs) | |||
| 203 | 203 | ||
| 204 | int set_dabr(unsigned long dabr) | 204 | int set_dabr(unsigned long dabr) |
| 205 | { | 205 | { |
| 206 | #ifdef CONFIG_PPC64 | ||
| 207 | if (ppc_md.set_dabr) | 206 | if (ppc_md.set_dabr) |
| 208 | return ppc_md.set_dabr(dabr); | 207 | return ppc_md.set_dabr(dabr); |
| 209 | #endif | ||
| 210 | 208 | ||
| 211 | mtspr(SPRN_DABR, dabr); | 209 | mtspr(SPRN_DABR, dabr); |
| 212 | return 0; | 210 | return 0; |
