original_kernel/arch/mips/kernel
Robert P. J. Day 5cbded585d [PATCH] getting rid of all casts of k[cmz]alloc() calls
Run this:

	#!/bin/sh
	for f in $(grep -Erl "\([^\)]*\) *k[cmz]alloc" *) ; do
	  echo "De-casting $f..."
	  perl -pi -e "s/ ?= ?\([^\)]*\) *(k[cmz]alloc) *\(/ = \1\(/" $f
	done

And then go through and reinstate those cases where code is casting pointers
to non-pointers.

And then drop a few hunks which conflicted with outstanding work.

Cc: Russell King <rmk@arm.linux.org.uk>, Ian Molton <spyro@f2s.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Greg KH <greg@kroah.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Paul Fulghum <paulkf@microgate.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Karsten Keil <kkeil@suse.de>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Ian Kent <raven@themaw.net>
Cc: Steven French <sfrench@us.ibm.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Cc: Jaroslav Kysela <perex@suse.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-13 09:05:58 -08:00
..
Makefile [MIPS] Remove duplicate ISA DMA code for 0 DMA channel case. 2006-11-30 01:14:51 +00:00
apm.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
asm-offsets.c
binfmt_elfn32.c [PATCH] elf: Always define elf_addr_t in linux/elf.h 2006-12-07 08:39:38 -08:00
binfmt_elfo32.c [PATCH] elf: Always define elf_addr_t in linux/elf.h 2006-12-07 08:39:38 -08:00
branch.c
cpu-bugs64.c
cpu-probe.c [MIPS] Don't print presence of WAIT instruction on bootup. 2006-11-30 01:14:44 +00:00
entry.S
gdb-low.S
gdb-stub.c
genex.S [MIPS] Fast path for rdhwr emulation for TLS 2006-11-30 01:14:44 +00:00
head.S [MIPS] Qemu now has an ELF loader. 2006-12-09 01:04:00 +00:00
i8253.c
i8259.c [MIPS] Import updates from i386's i8259.c 2006-12-06 20:16:09 +00:00
init_task.c
irix5sys.S
irixelf.c [PATCH] add process_session() helper routine 2006-12-08 08:28:51 -08:00
irixinv.c
irixioctl.c
irixsig.c
irq-msc01.c [MIPS] use generic_handle_irq, handle_level_irq, handle_percpu_irq 2006-11-30 01:14:46 +00:00
irq-mv6434x.c [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
irq-rm7000.c [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
irq-rm9000.c [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
irq.c [MIPS] genirq: use name instead of typename 2006-12-06 20:16:08 +00:00
irq_cpu.c [MIPS] Compile __do_IRQ() when really needed 2006-12-06 20:16:08 +00:00
kspd.c [PATCH] fdtable: Make fdarray and fdsets equal in size 2006-12-10 09:57:22 -08:00
linux32.c [MIPS] Use SYSVIPC_COMPAT to fix various problems on N32 2006-12-04 22:43:12 +00:00
machine_kexec.c [MIPS] Add support for kexec 2006-11-30 01:14:44 +00:00
mips-mt.c
mips_ksyms.c
module.c [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n 2006-11-30 01:14:44 +00:00
proc.c
process.c
ptrace.c
ptrace32.c
r4k_fpu.S
r4k_switch.S
r2300_fpu.S
r2300_switch.S
r6000_fpu.S
relocate_kernel.S [MIPS] Add support for kexec 2006-11-30 01:14:44 +00:00
reset.c [MIPS] Export pm_power_off 2006-12-10 21:52:11 +00:00
rtlx.c [PATCH] struct path: convert mips 2006-12-08 08:28:47 -08:00
scall32-o32.S [MIPS] Add support for kexec 2006-11-30 01:14:44 +00:00
scall64-64.S [MIPS] Add support for kexec 2006-11-30 01:14:44 +00:00
scall64-n32.S [MIPS] Use SYSVIPC_COMPAT to fix various problems on N32 2006-12-04 22:43:12 +00:00
scall64-o32.S [MIPS] Add support for kexec 2006-11-30 01:14:44 +00:00
semaphore.c
setup.c [MIPS] setup.c: clean up initrd related code 2006-11-30 01:14:42 +00:00
signal-common.h
signal.c
signal32.c
signal_n32.c [MIPS] Fix double inclusions 2006-11-30 01:14:47 +00:00
smp-mt.c [MIPS] use generic_handle_irq, handle_level_irq, handle_percpu_irq 2006-11-30 01:14:46 +00:00
smp.c [MIPS] Cleanup memory barriers for weakly ordered systems. 2006-12-04 22:43:14 +00:00
smtc-asm.S
smtc-proc.c
smtc.c [MIPS] use generic_handle_irq, handle_level_irq, handle_percpu_irq 2006-11-30 01:14:46 +00:00
stacktrace.c
syscall.c
sysirix.c [PATCH] struct path: convert mips 2006-12-08 08:28:47 -08:00
time.c [MIPS] mips HPT cleanup: make clocksource_mips public 2006-11-30 01:14:49 +00:00
topology.c
traps.c [MIPS] Use conditional traps for BUG_ON on MIPS II and better. 2006-11-30 01:14:50 +00:00
unaligned.c
vmlinux.lds.S [MIPS] Discard .exit.text and .exit.data at runtime. 2006-12-12 01:46:24 +00:00
vpe.c [PATCH] struct path: convert mips 2006-12-08 08:28:47 -08:00