Browse Source

arm64: make iamax kernel buildable by clang

Signed-off-by: Paul Osmialowski <pawel.osmialowski@arm.com>
pull/1265/head
Paul Osmialowski 8 years ago
parent
commit
37d2178f10
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      kernel/arm64/iamax_thunderx2t99.c

+ 2
- 1
kernel/arm64/iamax_thunderx2t99.c View File

@@ -208,7 +208,8 @@ extern int blas_level1_thread_with_return_value(int mode, BLASLONG m, BLASLONG n
#endif


static BLASLONG iamax_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x)
static BLASLONG __attribute__((noinline)) iamax_compute(BLASLONG n, FLOAT *x,
BLASLONG inc_x)
{
BLASLONG index = 0;



Loading…
Cancel
Save