Skip to content

Commit

Permalink
alpha: lib: export __delay
Browse files Browse the repository at this point in the history
__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>
  • Loading branch information
Sudip Mukherjee authored and Linus Torvalds committed Sep 18, 2015
1 parent 969560d commit 14b97de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/alpha/lib/udelay.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ __delay(int loops)
" bgt %0,1b"
: "=&r" (tmp), "=r" (loops) : "1"(loops));
}
EXPORT_SYMBOL(__delay);

#ifdef CONFIG_SMP
#define LPJ cpu_data[smp_processor_id()].loops_per_jiffy
Expand Down

0 comments on commit 14b97de

Please sign in to comment.