diff --git a/kernel/arm64/iamax_thunderx2t99.c b/kernel/arm64/iamax_thunderx2t99.c index bc5f3c3ca..7a75223aa 100644 --- a/kernel/arm64/iamax_thunderx2t99.c +++ b/kernel/arm64/iamax_thunderx2t99.c @@ -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;