Skip to content
Permalink
Browse files

Fix build for PPC970 on FreeBSD pt. 1

FreeBSD needs DCBT_ARG=0 as well.
  • Loading branch information...
pkubaj committed Jun 28, 2019
1 parent 3b76189 commit 5a4f1a21188a99d935482f1bda057d4ea42d34f4
Showing with 1 addition and 1 deletion.
  1. +1 −1 common_power.h
@@ -241,7 +241,7 @@ static inline int blas_quickdivide(blasint x, blasint y){
#define HAVE_PREFETCH
#endif

#if defined(POWER3) || defined(POWER6) || defined(PPCG4) || defined(CELL) || defined(POWER8) || defined(POWER9) || ( defined(PPC970) && defined(OS_DARWIN) )
#if defined(POWER3) || defined(POWER6) || defined(PPCG4) || defined(CELL) || defined(POWER8) || defined(POWER9) || ( defined(PPC970) && ( defined(OS_DARWIN) || defined(OS_FREEBSD) ) )
#define DCBT_ARG 0
#else
#define DCBT_ARG 8

0 comments on commit 5a4f1a2

Please sign in to comment.
You can’t perform that action at this time.