linux/arch/mips/include/asm
Aaro Koskinen 43a06847b9 MIPS: fix blast_icache32 on loongson2
Commit 14bd8c0820 ("MIPS: Loongson: Get rid of Loongson 2 #ifdefery
all over arch/mips") failed to add Loongson2 specific blast_icache32
functions.  Fix that.

The patch fixes the following crash seen with 3.13-rc1:

  Reserved instruction in kernel code[#1]:
  [...]
  Call Trace:
    blast_icache32_page+0x8/0xb0
    r4k_flush_cache_page+0x19c/0x200
    do_wp_page.isra.97+0x47c/0xe08
    handle_mm_fault+0x938/0x1118
    __do_page_fault+0x140/0x540
    resume_userspace_check+0x0/0x10
  Code: 00200825  64834000  00200825 <bc900000> bc900020  bc900040  bc900060  bc900080  bc9000a0

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Acked-by: John Crispin <blogic@openwrt.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-01-15 14:19:42 +07:00
..
dec DEC: Whitespace cleanup 2013-10-29 21:24:44 +01:00
emma
fw
ip32
lasat
mach-ar7 Revert "MIPS: make CAC_ADDR and UNCAC_ADDR account for PHYS_OFFSET" 2013-07-01 15:10:58 +02:00
mach-ath79 MIPS: ath79: Remove ar933x_uart_platform.h header 2013-10-29 21:23:49 +01:00
mach-au1x00 MIPS: Cleanup CP0 PRId and CP1 FPIR register access masks 2013-09-18 20:25:19 +02:00
mach-bcm47xx MIPS: BCM47XX: Get GPIO pin from nvram configuration 2013-10-29 21:24:05 +01:00
mach-bcm63xx MIPS: BCM63XX: export PSI size from nvram 2013-08-05 18:58:55 +01:00
mach-cavium-octeon MIPS: Remove unnecessary platform dma helper functions 2013-10-29 21:24:40 +01:00
mach-cobalt
mach-db1x00
mach-dec MIPS: DECstation CPU feature overrides 2013-10-29 21:24:46 +01:00
mach-emma2rh
mach-generic MIPS: Remove unnecessary platform dma helper functions 2013-10-29 21:24:40 +01:00
mach-ip22 MIPS: Optimize current_cpu_type() for better code. 2013-09-17 18:50:53 +02:00
mach-ip27 MIPS: Remove unnecessary platform dma helper functions 2013-10-29 21:24:40 +01:00
mach-ip28 MIPS: Optimize current_cpu_type() for better code. 2013-09-17 18:50:53 +02:00
mach-ip32 MIPS: Remove unnecessary platform dma helper functions 2013-10-29 21:24:40 +01:00
mach-jazz MIPS: Remove unnecessary platform dma helper functions 2013-10-29 21:24:40 +01:00
mach-jz4740 MIPS: jz4740: Remove custom DMA API 2013-07-05 11:40:52 +05:30
mach-lantiq MIPS: Lantiq: Falcon: add cpu-feature-override.h 2013-09-03 23:22:16 +02:00
mach-lasat
mach-loongson MIPS: Remove unnecessary platform dma helper functions 2013-10-29 21:24:40 +01:00
mach-loongson1
mach-malta
mach-netlogic
mach-pmcs-msp71xx
mach-pnx833x
mach-ralink MIPS: ralink: mt7620: Add cpu-feature-override header 2013-09-04 16:58:31 +02:00
mach-rc32434
mach-rm
mach-sead3
mach-sibyte
mach-tx39xx
mach-tx49xx
mach-vr41xx
mips-boards MIPS: Remove unused defines in piix4.h 2013-10-29 21:25:31 +01:00
netlogic MIPS: Netlogic: replace early_init_devtree() call 2013-11-06 16:14:04 -06:00
octeon Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-11-15 16:47:22 -08:00
pci
sgi
sibyte
sn
txx9
vr41xx
xtalk
Kbuild sched, arch: Create asm/preempt.h 2013-09-25 14:07:50 +02:00
abi.h
addrspace.h MIPS: Random whitespace clean-ups 2013-11-04 18:19:20 +01:00
amon.h
arch_hweight.h
asm-offsets.h
asm.h
asmmacro-32.h
asmmacro-64.h
asmmacro.h
atomic.h MIPS: Random whitespace clean-ups 2013-11-04 18:19:20 +01:00
barrier.h MIPS: Random whitespace clean-ups 2013-11-04 18:19:20 +01:00
bcache.h
bitops.h
bmips.h MIPS: BMIPS: Fix compilation for BMIPS5000 2013-08-26 15:31:55 +02:00
bootinfo.h
branch.h
break.h
bug.h
bugs.h
cache.h
cacheflush.h
cacheops.h MIPS: fix case mismatch in local_r4k_flush_icache_range() 2014-01-15 14:19:42 +07:00
cevt-r4k.h
checksum.h
clkdev.h
clock.h
cmp.h
cmpxchg.h
compat-signal.h
compat.h
compiler.h
cop2.h
cpu-features.h MIPS: cpu-features.h: s/MIPS53/MIPS64/ 2013-09-24 11:07:18 +02:00
cpu-info.h MIPS: Provide nice way to access boot CPU's data. 2013-09-17 13:58:12 +02:00
cpu-type.h MIPS: Optimize current_cpu_type() for better code. 2013-09-17 18:50:53 +02:00
cpu.h MIPS: Cleanup CP0 PRId and CP1 FPIR register access masks 2013-09-18 20:25:19 +02:00
debug.h
delay.h
device.h
div64.h
dma-coherence.h
dma-mapping.h
dma.h
ds1287.h
dsp.h
edac.h
elf.h MIPS: Switch ELF core dumper to use regsets. 2013-10-29 21:25:09 +01:00
errno.h
exec.h
fb.h
fixmap.h
floppy.h
fpregdef.h
fpu.h
fpu_emulator.h
ftrace.h
futex.h
gcmpregs.h
gic.h MIPS: Fix typos and cleanup comment 2013-07-01 15:10:57 +02:00
gio_device.h
gpio.h
gt64120.h
hardirq.h
hazards.h
highmem.h
hugetlb.h
hw_irq.h
i8259.h
ide.h
idle.h
inst.h
io.h MIPS: define write{b,w,l,q}_relaxed 2013-07-01 15:10:59 +02:00
irq.h
irq_cpu.h
irq_gt641xx.h
irq_regs.h
irqflags.h
isadep.h
jazz.h
jazzdma.h
jump_label.h compiler/gcc4: Add quirk for 'asm goto' miscompilation bug 2013-10-11 07:39:14 +02:00
kdebug.h
kexec.h
kgdb.h
kmap_types.h
kprobes.h
kvm_host.h KVM: mips: Get rid of KVM_HPAGE defines 2013-10-14 10:12:08 +03:00
linkage.h
local.h
m48t37.h
mc146818-time.h
mc146818rtc.h
mips_machine.h
mips_mt.h
mipsmtregs.h
mipsprom.h
mipsregs.h MIPS: Add MIPS R5 config5 register. 2013-09-19 11:16:44 +02:00
mmu.h
mmu_context.h MIPS: mm: Use scratch for PGD when !CONFIG_MIPS_PGD_C0_CONTEXT 2013-10-29 21:24:51 +01:00
mmzone.h
module.h
msc01_ic.h
nile4.h
paccess.h
page.h Revert "MIPS: make CAC_ADDR and UNCAC_ADDR account for PHYS_OFFSET" 2013-07-01 15:10:58 +02:00
pci.h MIPS: PCI: Use pci_resource_to_user to map pci memory space properly 2013-09-19 00:48:48 +02:00
perf_event.h
pgalloc.h mips: handle pgtable_page_ctor() fail 2013-11-15 09:32:18 +09:00
pgtable-32.h
pgtable-64.h
pgtable-bits.h
pgtable.h
pmon.h
prefetch.h
processor.h MIPS: Cleanup indentation and whitespace 2013-07-01 15:10:57 +02:00
prom.h of: implement pci_address_to_pio as weak function 2013-10-09 20:04:06 -05:00
ptrace.h MIPS: Enable HAVE_ARCH_TRACEHOOK. 2013-10-29 21:25:11 +01:00
r4k-timer.h
r4kcache.h MIPS: fix blast_icache32 on loongson2 2014-01-15 14:19:42 +07:00
reboot.h
reg.h
regdef.h
rm9k-ocd.h
rtlx.h
seccomp.h
setup.h MIPS: Add 8250/16550 serial early printk driver 2013-10-29 21:24:36 +01:00
sgialib.h
sgiarcs.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
sim.h
smp-ops.h
smp.h
smtc.h
smtc_ipi.h
smtc_proc.h
sni.h
socket.h
sparsemem.h
spinlock.h
spinlock_types.h
spram.h
stackframe.h MIPS: Move definition of SMP processor id register to header file 2013-10-29 21:23:51 +01:00
stackprotector.h
stacktrace.h
string.h
suspend.h
switch_to.h
syscall.h MIPS: ftrace: Add support for syscall tracepoints. 2013-10-29 21:25:16 +01:00
termios.h
thread_info.h preempt: Make PREEMPT_ACTIVE generic 2013-11-13 20:21:47 +01:00
time.h MIPS: Always register R4K clock when selected 2013-10-29 21:25:26 +01:00
timex.h MIPS: Reimplement get_cycles(). 2013-09-18 16:31:49 +02:00
tlb.h
tlbdebug.h
tlbflush.h
tlbmisc.h
topology.h
traps.h
txx9irq.h
txx9pio.h
txx9tmr.h
types.h
uaccess.h
uasm.h MIPS: Delete __cpuinit/__CPUINIT usage from MIPS code 2013-07-14 19:36:51 -04:00
unaligned.h
unistd.h MIPS: ftrace: Add support for syscall tracepoints. 2013-10-29 21:25:16 +01:00
user.h
vdso.h
vga.h MIPS: Fix VGA_MAP_MEM macro. 2013-09-18 17:13:58 +02:00
vpe.h
war.h
watch.h
wbflush.h