Skip to content

Commit bee123e

Browse files
authored
fix: add missing NO_AFFINITY checks
1 parent 7ac5b90 commit bee123e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common_arm64.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5555
#ifndef ASSEMBLER
5656

5757

58+
#ifndef NO_AFFINITY
5859
static __inline int WhereAmI(void){
5960
uint64_t ret;
6061
__asm__ volatile (
@@ -67,6 +68,7 @@ static __inline int WhereAmI(void){
6768
if ((int)ret <0) ret = 0;
6869
return (int)ret;
6970
}
71+
#endif
7072

7173
static __inline void blas_lock(volatile BLASULONG *address){
7274

0 commit comments

Comments
 (0)