nios2: Export get_cycles
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Jun 2015 04:46:46 +0000 (12:46 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Jun 2015 14:26:00 +0000 (22:26 +0800)
commit05dee9c7ebc06719df2dd11bfd3bea96aeaf9707
treeb0f3b416f75afb8a9d8e7fc54c70281c5bcdfeca
parentfbb145bc0a1c03b90a96cca99dc07c33aaad2318
nios2: Export get_cycles

nios2 is the only architecture that does not inline get_cycles
and does not export it.  This breaks crypto as it uses get_cycles
in a number of modules.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/nios2/kernel/time.c