linux/include/asm-sh
Jeff Dike 5ab24c79af Fix __const_udelay declaration and definition mismatches
The declaration and implementation of __const_udelay use different
names for the parameter on a number of architectures:

include/asm-avr32/delay.h:15:extern void __const_udelay(unsigned long usecs);
arch/avr32/lib/delay.c:39:inline void __const_udelay(unsigned long xloops)

include/asm-sh/delay.h:15:extern void __const_udelay(unsigned long usecs);
arch/sh/lib/delay.c:22:inline void __const_udelay(unsigned long xloops)

include/asm-m32r/delay.h:15:extern void __const_udelay(unsigned long usecs);
arch/m32r/lib/delay.c:58:void __const_udelay(unsigned long xloops)

include/asm-x86/delay.h:16:extern void __const_udelay(unsigned long usecs);
arch/x86/lib/delay_32.c:82:inline void __const_udelay(unsigned long xloops)
arch/x86/lib/delay_64.c:46:inline void __const_udelay(unsigned long xloops)

The units of the parameter isn't usecs, so that name is definitely
wrong.  It's also not exactly loops, so I suppose xloops is an OK
name.

This patch changes these names from usecs to xloops.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-06 10:41:06 -08:00
..
cpu-sh2 rtc: rtc-sh: Split out the CPU defs to asm/cpu/. 2008-01-28 13:18:58 +09:00
cpu-sh2a rtc: rtc-sh: Split out the CPU defs to asm/cpu/. 2008-01-28 13:18:58 +09:00
cpu-sh3 sh: sh7712 clock support 2008-01-28 13:19:02 +09:00
cpu-sh4 sh: Add support for SH7763 CPU subtype. 2008-01-28 13:19:02 +09:00
cpu-sh5 sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
dreamcast
hd64465
landisk
mpc1211
sh03
.gitignore
a.out.h
adc.h
addrspace.h sh: Clean up places that make 29-bit physical assumptions. 2008-01-28 13:18:59 +09:00
atomic-grb.h sh: GUSA atomic rollback support. 2008-01-28 13:18:58 +09:00
atomic-irq.h
atomic-llsc.h
atomic.h sh: GUSA atomic rollback support. 2008-01-28 13:18:58 +09:00
auxvec.h sh: Provide the FPSCR init through AT_FPUCW. 2008-01-28 13:19:00 +09:00
bitops-grb.h sh: GUSA atomic rollback support. 2008-01-28 13:18:58 +09:00
bitops-irq.h sh: GUSA atomic rollback support. 2008-01-28 13:18:58 +09:00
bitops.h sh: GUSA atomic rollback support. 2008-01-28 13:18:58 +09:00
bug.h sh: Fix up generic BUG build for SH-5. 2008-01-28 13:18:52 +09:00
bugs.h sh: Add support for SH7763 CPU subtype. 2008-01-28 13:19:02 +09:00
byteorder.h sh: SH-5 byteorder routines. 2008-01-28 13:18:41 +09:00
cache.h sh: Split out cache status bits per-CPU family. 2008-01-28 13:18:38 +09:00
cacheflush.h sh: Fix argument page dcache flushing regression. 2008-01-07 13:50:18 +09:00
checksum_32.h sh: Split out checksum.h in to _32 and _64 variants. 2008-01-28 13:18:45 +09:00
checksum_64.h sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
checksum.h sh: Split out checksum.h in to _32 and _64 variants. 2008-01-28 13:18:45 +09:00
clock.h
cmpxchg-grb.h sh: GUSA atomic rollback support. 2008-01-28 13:18:58 +09:00
cmpxchg-irq.h sh: GUSA atomic rollback support. 2008-01-28 13:18:58 +09:00
cpu-features.h
cputime.h
current.h
delay.h Fix __const_udelay declaration and definition mismatches 2008-02-06 10:41:06 -08:00
device.h
div64.h
dma-mapping.h sh: declared coherent memory support V2 2008-01-28 13:19:04 +09:00
dma.h
dmabrg.h
edosk7705.h
elf.h sh: Kill off superfluous __KERNEL__ check in asm/elf.h. 2008-01-28 13:19:00 +09:00
emergency-restart.h
entry-macros.S
errno.h
fb.h
fcntl.h
fixmap.h sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
flat.h sh: Fix up binfmt_flat compile warnings. 2008-01-28 13:19:00 +09:00
floppy.h Remove dma_cache_(wback|inv|wback_inv) functions 2007-10-17 08:42:57 -07:00
fpu.h sh: SH-2A FPU support. 2008-01-28 13:18:57 +09:00
freq.h
futex-irq.h
futex.h
gpio.h
hardirq.h
hd64461.h sh: include/asm-sh/: Spelling fixes. 2008-01-28 13:19:01 +09:00
heartbeat.h
hp6xx.h
hw_irq.h sh: intc - remove default interrupt priority tables 2008-01-28 13:19:02 +09:00
ide.h
ilsel.h
io_generic.h
io.h sh: Clean up places that make 29-bit physical assumptions. 2008-01-28 13:18:59 +09:00
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h
irq.h sh: Decouple 4k and soft/hardirq stacks. 2007-11-02 12:16:51 +09:00
irqflags_32.h sh: Split out irqflags.h in to _32 and _64 variants. 2008-01-28 13:18:40 +09:00
irqflags_64.h sh: Split out irqflags.h in to _32 and _64 variants. 2008-01-28 13:18:40 +09:00
irqflags.h sh: Split out irqflags.h in to _32 and _64 variants. 2008-01-28 13:18:40 +09:00
Kbuild sh: Fix posix_types.h userspace breakage from sh64 merge. 2008-01-28 13:19:02 +09:00
kdebug.h
kexec.h
keyboard.h
kgdb.h
kmap_types.h
lboxre2.h
linkage.h
local.h
machvec.h remove __attribute_used__ 2008-01-28 23:21:18 +01:00
magicpanelr2.h
mc146818rtc.h
microdev.h sh: include/asm-sh/: Spelling fixes. 2008-01-28 13:19:01 +09:00
mman.h
mmu_context_32.h sh: Move in the SH-5 mmu_context headers. 2008-01-28 13:18:41 +09:00
mmu_context_64.h sh: Move in the SH-5 mmu_context headers. 2008-01-28 13:18:41 +09:00
mmu_context.h sh: Move in the SH-5 mmu_context headers. 2008-01-28 13:18:41 +09:00
mmu.h
mmzone.h
module.h sh: Add SH-5 support to asm/module.h. 2008-01-28 13:18:39 +09:00
msgbuf.h
mutex.h
namei.h
page.h sh: Clean up places that make 29-bit physical assumptions. 2008-01-28 13:18:59 +09:00
param.h sh: Always use CONFIG_HZ for HZ. 2008-01-28 13:19:01 +09:00
parport.h
pci.h sh: Get the SH-5 PCI support building. 2008-01-28 13:18:55 +09:00
percpu.h
pgalloc.h add mm argument to pte/pmd/pud/pgd_free 2008-02-05 09:44:18 -08:00
pgtable_32.h sh: Document PTEL 31:29 use on PTEA-wielding parts. 2008-01-28 13:18:59 +09:00
pgtable_64.h sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
pgtable.h sh: Stub in page_table_range_init() on nommu. 2008-01-28 13:19:00 +09:00
pm.h
poll.h
posix_types_32.h sh: Fix posix_types.h userspace breakage from sh64 merge. 2008-01-28 13:19:02 +09:00
posix_types_64.h sh: Fix posix_types.h userspace breakage from sh64 merge. 2008-01-28 13:19:02 +09:00
posix_types.h sh: Fix posix_types.h userspace breakage from sh64 merge. 2008-01-28 13:19:02 +09:00
processor_32.h sh: Bring the SH-5 FPU in line with the SH-4 FPU API. 2008-01-28 13:18:55 +09:00
processor_64.h sh: Bring the SH-5 FPU in line with the SH-4 FPU API. 2008-01-28 13:18:55 +09:00
processor.h sh: Add support for SH7763 CPU subtype. 2008-01-28 13:19:02 +09:00
ptrace.h sh: Share bug/debug traps across _32 and _64. 2008-01-28 13:18:50 +09:00
push-switch.h
r7780rp.h sh: update r7780rp interrupt code 2008-01-28 16:24:01 +09:00
resource.h
rtc.h rtc: rtc-sh: Split out the CPU defs to asm/cpu/. 2008-01-28 13:18:58 +09:00
rts7751r2d.h
rwsem.h
scatterlist.h sh: Kill off pgtable.h from scatterlist.h. 2008-01-28 13:19:00 +09:00
sci.h
sdk7780.h sh: Add support for SDK7780 board. 2008-01-28 13:19:04 +09:00
se7206.h
se7343.h
se7722.h
se7751.h Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
se7780.h
se.h
sections.h sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
segment.h
semaphore-helper.h
semaphore.h kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
sembuf.h
serial.h
setup.h sh: Move zero page param defs somewhere sensible. 2007-10-30 17:32:08 +09:00
sfp-machine.h
sh_bios.h
shmbuf.h
shmin.h
shmparam.h
sigcontext.h sh: SH-2A FPU support. 2008-01-28 13:18:57 +09:00
siginfo.h
signal.h
smc37c93x.h
smp.h
snapgear.h
socket.h [NET]: Introducing socket mark socket option. 2008-01-31 19:27:19 -08:00
sockios.h
sparsemem.h
spi.h sh: add spi header and r2d platform data V3 2008-01-28 16:24:46 +09:00
spinlock_types.h
spinlock.h
stat.h sh: Special layout for SH-5 stat.h and user.h. 2008-01-28 13:18:53 +09:00
statfs.h
string_32.h sh: Split out asm/string.h for sh32 and sh64. 2008-01-28 13:18:40 +09:00
string_64.h sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
string.h sh: Split out asm/string.h for sh32 and sh64. 2008-01-28 13:18:40 +09:00
system_32.h sh: Fix up switch_to() type casts. 2008-01-28 13:19:00 +09:00
system_64.h sh: Preparation for uncached jumps through PMB. 2008-01-28 13:18:59 +09:00
system.h sh: Provide the FPSCR init through AT_FPUCW. 2008-01-28 13:19:00 +09:00
systemh7751.h Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
termbits.h
termios.h
thread_info.h remove __attribute_used__ 2008-01-28 23:21:18 +01:00
timer.h
timex.h
titan.h
tlb_64.h sh: Move over the SH-5 head.S and tlb.h. 2008-01-28 13:18:44 +09:00
tlb.h sh: Move over the SH-5 head.S and tlb.h. 2008-01-28 13:18:44 +09:00
tlbflush.h remove unused flush_tlb_pgtables 2007-10-19 11:53:34 -07:00
topology.h
types.h sh: Share bug/debug traps across _32 and _64. 2008-01-28 13:18:50 +09:00
uaccess_32.h sh: Fix get_user()/put_user() build error. 2008-01-28 13:19:02 +09:00
uaccess_64.h sh: comment tidying for sh64->sh migration. 2008-01-28 13:18:58 +09:00
uaccess.h sh: Split out uaccess.h in to _32 and _64 variants. 2008-01-28 13:18:42 +09:00
ubc.h
ucontext.h
unaligned.h
unistd_32.h timerfd: fix remaining architectures 2008-02-05 14:37:15 -08:00
unistd_64.h timerfd: fix remaining architectures 2008-02-05 14:37:15 -08:00
unistd.h sh: Split out syscall ABI for _32 and _64 variants. 2008-01-28 13:18:45 +09:00
user.h sh: Fix up user_fpu_struct typo for SH-5. 2008-01-28 13:18:53 +09:00
vga.h sh: Add a dummy vga.h. 2007-11-07 20:19:30 +09:00
watchdog.h
xor.h