linux/arch/mips/lib
David Daney 5210edcd52 MIPS: Make __{,n,u}delay declarations match definitions and generic delay.h
At some recent point arch/mips/include/asm/delay.h has started being
included into csrc-octeon.c where the __?delay() functions are defined.
This causes a compile failure due to conflicting declarations and
definitions of the functions.

It turns out that the generic definitions in arch/mips/lib/delay.c also
conflict.

Proposed fix: Declare the functions to take unsigned long parameters
just like asm-generic (and x86) does.  Update __delay to agree
(__ndelay and __udelay need no change).

Bonus: Get rid of 'inline' from __delay() definition, as it is globally
visible, and the compiler should be making this decision itself (it does
in fact inline the function without being told to).

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4354/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2012-10-16 22:20:03 +02:00
..
ashldi3.c
ashrdi3.c
cmpdi2.c [MIPS] Add __cmpdi2 2007-08-27 02:17:00 +01:00
csum_partial.S MIPS: IP checksums: Optimize adjust of sum on buffers of odd alignment. 2008-10-11 16:18:53 +01:00
delay.c MIPS: Make __{,n,u}delay declarations match definitions and generic delay.h 2012-10-16 22:20:03 +02:00
dump_tlb.c MIPS: Cavium: Add support for 8k and 32k page sizes. 2009-05-14 13:50:27 +01:00
iomap-pci.c mips: use the the PCI controller's io_map_base 2012-01-31 23:20:30 +02:00
iomap.c
libgcc.h MIPS: libgcc.h: Checkpatch cleanup 2010-04-12 17:26:15 +01:00
lshrdi3.c
Makefile MIPS: introduce CPU_GENERIC_DUMP_TLB 2012-08-22 23:46:38 +02:00
memcpy.S MIPS: Unify memcpy.S and memcpy-inatomic.S 2012-07-23 13:55:55 +01:00
memset.S MIPS: Separate two consecutive loads in memset.S 2010-12-16 18:10:57 +00:00
r3k_dump_tlb.c [MIPS] Cleanup tlbdebug.h 2007-07-12 17:41:11 +01:00
strlen_user.S [MIPS] Eleminate local symbols from the symbol table. 2008-01-29 10:14:59 +00:00
strncpy_user.S [MIPS] Eleminate local symbols from the symbol table. 2008-01-29 10:14:59 +00:00
strnlen_user.S Fix common misspellings 2011-03-31 11:26:23 -03:00
ucmpdi2.c [MIPS] Export __ucmpdi2 to modules. 2008-03-12 14:14:41 +00:00
uncached.c [MIPS] Fix loads of section missmatches 2008-03-12 14:14:41 +00:00