16 #include <asm/cacheflush.h>
18 #include <arch/spr_def.h>
28 static inline void force_load(
char *
p)
52 const unsigned long STRIPE_WIDTH = 512;
54 const unsigned long STRIPE_WIDTH = 8192;
74 __finv_buffer(buffer, size);
122 step_size = STRIPE_WIDTH;
127 p = (
char *)buffer + size - 1;
132 p = (
char *)((
unsigned long)p | (step_size - 1));
135 base = p - (step_size * (load_count - 2));
136 if ((
unsigned long)base < (
unsigned long)buffer)
153 p = (
char *)buffer + size - 1;
156 p = (
char *)((
unsigned long)p | (step_size - 1));