[PARISC] Clean up sti_flush

sti_flush is supposed to flush the caches so we can execute the STI rom
we copied to memory. Anything more than flush_icache_range is overkill.

Fixes a missing symbol when built as a module.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>

authored by Kyle McMartin and committed by Kyle McMartin 03b18f1b fabb8ff4

+5 -9
+5 -9
drivers/video/console/sticore.c
··· 232 232 } 233 233 234 234 235 - /* FIXME: Do we have another solution for this ? */ 236 - static void sti_flush(unsigned long from, unsigned long len) 235 + static void sti_flush(unsigned long start, unsigned long end) 237 236 { 238 - flush_data_cache(); 239 - flush_kernel_dcache_range(from, len); 240 - flush_icache_range(from, from+len); 237 + flush_icache_range(start, end); 241 238 } 242 239 243 240 void __devinit 244 241 sti_rom_copy(unsigned long base, unsigned long count, void *dest) 245 242 { 246 - unsigned long dest_len = count; 247 243 unsigned long dest_start = (unsigned long) dest; 248 244 249 245 /* this still needs to be revisited (see arch/parisc/mm/init.c:246) ! */ ··· 256 260 dest++; 257 261 } 258 262 259 - sti_flush(dest_start, dest_len); 263 + sti_flush(dest_start, (unsigned long)dest); 260 264 } 261 265 262 266 ··· 659 663 static void __devinit 660 664 sti_bmode_rom_copy(unsigned long base, unsigned long count, void *dest) 661 665 { 662 - unsigned long dest_len = count; 663 666 unsigned long dest_start = (unsigned long) dest; 664 667 665 668 while (count) { ··· 667 672 base += 4; 668 673 dest++; 669 674 } 670 - sti_flush(dest_start, dest_len); 675 + 676 + sti_flush(dest_start, (unsigned long)dest); 671 677 } 672 678 673 679 static struct sti_rom * __devinit