linux-stable-rt/arch/sh/kernel
Joe Perches 28f65c11f2 treewide: Convert uses of struct resource to resource_size(ptr)
Several fixes as well where the +1 was missing.

Done via coccinelle scripts like:

@@
struct resource *ptr;
@@

- ptr->end - ptr->start + 1
+ resource_size(ptr)

and some grep and typing.

Mostly uncompiled, no cross-compilers.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-06-10 14:55:36 +02:00
..
cpu sh: cosmetic improvement: use an existing pointer 2011-05-23 12:37:26 +09:00
vsyscall
.gitignore
Makefile
asm-offsets.c
cpufreq.c
crash_dump.c
debugtraps.S
disassemble.c
dma-nommu.c
dumpstack.c sh: remove warning and warning_symbol from struct stacktrace_ops 2011-05-23 14:42:15 +09:00
dwarf.c
entry-common.S
ftrace.c
head_32.S
head_64.S
hw_breakpoint.c
idle.c
init_task.c
io.c
io_trapped.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
iomap.c
ioport.c
irq.c
irq_32.c
irq_64.c
kdebugfs.c
kgdb.c
kprobes.c
localtimer.c
machine_kexec.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
machvec.c
module.c sh: Ignore R_SH_NONE module relocations. 2011-05-23 17:09:30 +09:00
nmi_debug.c
perf_callchain.c sh: remove warning and warning_symbol from struct stacktrace_ops 2011-05-23 14:42:15 +09:00
perf_event.c
process.c
process_32.c sh: arch/sh/kernel/process_32.c needs linux/prefetch.h. 2011-05-24 17:25:23 +09:00
process_64.c
ptrace.c
ptrace_32.c
ptrace_64.c
reboot.c
relocate_kernel.S
return_address.c
setup.c
sh_bios.c
sh_ksyms_32.c
sh_ksyms_64.c
signal_32.c
signal_64.c
smp.c
stacktrace.c sh: remove warning and warning_symbol from struct stacktrace_ops 2011-05-23 14:42:15 +09:00
swsusp.c
sys_sh.c
sys_sh32.c
sys_sh64.c
syscalls_32.S ns: Wire up the setns system call 2011-05-28 10:48:39 -07:00
syscalls_64.S ns: Wire up the setns system call 2011-05-28 10:48:39 -07:00
time.c
topology.c
traps.c
traps_32.c
traps_64.c
unwinder.c
vmlinux.lds.S