diff --git a/apps/jacobi.c b/apps/jacobi.c index 04375cf3..96fca71a 100644 --- a/apps/jacobi.c +++ b/apps/jacobi.c @@ -26,6 +26,8 @@ #include #include +#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 diff --git a/arch/x86/scc/RCCE_reduce.c b/arch/x86/scc/RCCE_reduce.c index 21df8090..787bd1da 100644 --- a/arch/x86/scc/RCCE_reduce.c +++ b/arch/x86/scc/RCCE_reduce.c @@ -34,6 +34,8 @@ #include #include +#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