alpha: lib: export __delay
__delay was not exported as a result while building with allmodconfig we were getting build error of undefined symbol. __delay is being used by: drivers/net/phy/mdio-octeon.c Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Matt Turner <mattst88@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
969560d2af
commit
14b97deddf
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ __delay(int loops)
|
||||||
" bgt %0,1b"
|
" bgt %0,1b"
|
||||||
: "=&r" (tmp), "=r" (loops) : "1"(loops));
|
: "=&r" (tmp), "=r" (loops) : "1"(loops));
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(__delay);
|
||||||
|
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
#define LPJ cpu_data[smp_processor_id()].loops_per_jiffy
|
#define LPJ cpu_data[smp_processor_id()].loops_per_jiffy
|
||||||
|
|
Loading…
Reference in a new issue