diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-07 10:43:04 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-10-07 10:43:04 -0400 |
commit | a56e74f546b64be93731e42d83baf5b538cc1b11 (patch) | |
tree | 18f6dee45d801e57ac9db2a31664b0d5c0762c50 /arch/mips/kernel/traps.c | |
parent | d08e2e09042bd3f7ef66a35cb4bb92794ab26bb2 (diff) | |
parent | e4e7f10bfc4069925e99cc4b428c3434e30b6c3f (diff) |
Merge branch 'arm-aesbs' of git://git.linaro.org/people/ardbiesheuvel/linux-arm into devel-stable
Diffstat (limited to 'arch/mips/kernel/traps.c')
-rw-r--r-- | arch/mips/kernel/traps.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index aec3408edd4b..524841f02803 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include <asm/break.h> | 39 | #include <asm/break.h> |
40 | #include <asm/cop2.h> | 40 | #include <asm/cop2.h> |
41 | #include <asm/cpu.h> | 41 | #include <asm/cpu.h> |
42 | #include <asm/cpu-type.h> | ||
42 | #include <asm/dsp.h> | 43 | #include <asm/dsp.h> |
43 | #include <asm/fpu.h> | 44 | #include <asm/fpu.h> |
44 | #include <asm/fpu_emulator.h> | 45 | #include <asm/fpu_emulator.h> |
@@ -622,7 +623,7 @@ static int simulate_rdhwr(struct pt_regs *regs, int rd, int rt) | |||
622 | regs->regs[rt] = read_c0_count(); | 623 | regs->regs[rt] = read_c0_count(); |
623 | return 0; | 624 | return 0; |
624 | case 3: /* Count register resolution */ | 625 | case 3: /* Count register resolution */ |
625 | switch (current_cpu_data.cputype) { | 626 | switch (current_cpu_type()) { |
626 | case CPU_20KC: | 627 | case CPU_20KC: |
627 | case CPU_25KF: | 628 | case CPU_25KF: |
628 | regs->regs[rt] = 1; | 629 | regs->regs[rt] = 1; |