linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / um / sys-ppc / misc.S
index 1364b7d..11b7bd7 100644 (file)
@@ -15,6 +15,7 @@
  *
  */
 
+#include <linux/config.h>
 #include <asm/processor.h>
 #include "ppc_asm.h"
 
 #define CACHE_LINE_SIZE                16
 #define LG_CACHE_LINE_SIZE     4
 #define MAX_COPY_PREFETCH      1
-#else
+#elif !defined(CONFIG_PPC64BRIDGE)
 #define CACHE_LINE_SIZE                32
 #define LG_CACHE_LINE_SIZE     5
 #define MAX_COPY_PREFETCH      4
+#else
+#define CACHE_LINE_SIZE                128
+#define LG_CACHE_LINE_SIZE     7
+#define MAX_COPY_PREFETCH      1
 #endif /* CONFIG_4xx || CONFIG_8xx */
 
        .text