avoid compiling of SCC features on non-SCC systems
This commit is contained in:
parent
c52d457b08
commit
21e113c53a
2 changed files with 7 additions and 0 deletions
|
@ -26,6 +26,8 @@
|
||||||
#include <asm/SCC_API.h>
|
#include <asm/SCC_API.h>
|
||||||
#include <asm/irqflags.h>
|
#include <asm/irqflags.h>
|
||||||
|
|
||||||
|
#ifdef CONFIG_ROCKCREEK
|
||||||
|
|
||||||
#define MATRIX_SIZE 256
|
#define MATRIX_SIZE 256
|
||||||
#define MAXVALUE 1337
|
#define MAXVALUE 1337
|
||||||
#define PAGE_SIZE 4096
|
#define PAGE_SIZE 4096
|
||||||
|
@ -366,3 +368,5 @@ int jacobi(void* argv)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -34,6 +34,8 @@
|
||||||
#include <metalsvm/stdlib.h>
|
#include <metalsvm/stdlib.h>
|
||||||
#include <metalsvm/string.h>
|
#include <metalsvm/string.h>
|
||||||
|
|
||||||
|
#ifdef CONFIG_ROCKCREEK
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
// FUNCTION: RCCE_reduce_general
|
// FUNCTION: RCCE_reduce_general
|
||||||
//--------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------
|
||||||
|
@ -185,3 +187,4 @@ int RCCE_reduce(
|
||||||
RCCE_reduce_general(inbuf, outbuf, num, type, op, root, all, comm)));
|
RCCE_reduce_general(inbuf, outbuf, num, type, op, root, all, comm)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue