diff options
author | Colin Cross <ccross@android.com> | 2010-04-25 00:29:07 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2010-10-06 16:26:54 -0700 |
commit | 8734cdc2da00b304aded18263f1499f127119aad (patch) | |
tree | 316847fbd4c582bfc15f80f442429738d9d281fc /arch/arm/include | |
parent | 7454dd5c33c16821f256e23e8a0fb1c9d4d3fa6e (diff) |
[ARM] Add ARCH_PROVIDES_UDELAY config option
Change-Id: Ife690c9d055fc0f17a52d2b29048af5062a664a6
Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/delay.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/delay.h b/arch/arm/include/asm/delay.h index b2deda181549..57f1fa0e983b 100644 --- a/arch/arm/include/asm/delay.h +++ b/arch/arm/include/asm/delay.h @@ -8,6 +8,9 @@ #include <asm/param.h> /* HZ */ +#ifdef CONFIG_ARCH_PROVIDES_UDELAY +#include <mach/delay.h> +#else extern void __delay(int loops); /* @@ -40,5 +43,6 @@ extern void __const_udelay(unsigned long); __const_udelay((n) * ((2199023U*HZ)>>11))) : \ __udelay(n)) +#endif /* defined(ARCH_PROVIDES_UDELAY) */ #endif /* defined(_ARM_DELAY_H) */ |