avoid compiling of SCC features on non-SCC systems

This commit is contained in:
Stefan Lankes 2012-04-24 10:35:24 +02:00
parent c52d457b08
commit 21e113c53a
2 changed files with 7 additions and 0 deletions

View file

@ -26,6 +26,8 @@
#include <asm/SCC_API.h>
#include <asm/irqflags.h>
#ifdef CONFIG_ROCKCREEK
#define MATRIX_SIZE 256
#define MAXVALUE 1337
#define PAGE_SIZE 4096
@ -366,3 +368,5 @@ int jacobi(void* argv)
return 0;
}
#endif

View file

@ -34,6 +34,8 @@
#include <metalsvm/stdlib.h>
#include <metalsvm/string.h>
#ifdef CONFIG_ROCKCREEK
//--------------------------------------------------------------------------------------
// FUNCTION: RCCE_reduce_general
//--------------------------------------------------------------------------------------
@ -185,3 +187,4 @@ int RCCE_reduce(
RCCE_reduce_general(inbuf, outbuf, num, type, op, root, all, comm)));
}
#endif