CFLAGS_octeon-platform.o = -I$(src)/../../../scripts/dtc/libfdt
CFLAGS_setup.o = -I$(src)/../../../scripts/dtc/libfdt
-obj-y := cpu.o setup.o serial.o octeon-platform.o octeon-irq.o csrc-octeon.o
+obj-y := cpu.o setup.o octeon-platform.o octeon-irq.o csrc-octeon.o
- obj-y += dma-octeon.o flash_setup.o
+ obj-y += dma-octeon.o
obj-y += octeon-memcpy.o
obj-y += executive/
*
* Copyright (C) 1995, 96, 97, 98, 99, 2003, 05 Ralf Baechle
*/
-#ifndef _ASM_FCNTL_H
-#define _ASM_FCNTL_H
+#ifndef _UAPI_ASM_FCNTL_H
+#define _UAPI_ASM_FCNTL_H
+ #include <asm/sgidefs.h>
#define O_APPEND 0x0008
#define O_DSYNC 0x0010 /* used to be O_SYNC, see below */
pr_debug("Wrote TLB modify handler fastpath (%u instructions).\n",
(unsigned int)(p - handle_tlbm));
- dump_handler("r4000_tlb_modify", handle_tlbm, ARRAY_SIZE(handle_tlbm));
+ dump_handler("r4000_tlb_modify", handle_tlbm, handle_tlbm_size);
}
- (unsigned long)handle_tlbl + sizeof(handle_tlbl));
+ static void __cpuinit flush_tlb_handlers(void)
+ {
+ local_flush_icache_range((unsigned long)handle_tlbl,
- (unsigned long)handle_tlbs + sizeof(handle_tlbs));
++ (unsigned long)handle_tlbl_end);
+ local_flush_icache_range((unsigned long)handle_tlbs,
- (unsigned long)handle_tlbm + sizeof(handle_tlbm));
++ (unsigned long)handle_tlbs_end);
+ local_flush_icache_range((unsigned long)handle_tlbm,
- local_flush_icache_range((unsigned long)tlbmiss_handler_setup_pgd_array,
- (unsigned long)tlbmiss_handler_setup_pgd_array + sizeof(tlbmiss_handler_setup_pgd_array));
++ (unsigned long)handle_tlbm_end);
+ #ifdef CONFIG_MIPS_PGD_C0_CONTEXT
++ local_flush_icache_range((unsigned long)tlbmiss_handler_setup_pgd,
++ (unsigned long)tlbmiss_handler_setup_pgd_end);
+ #endif
+ }
+
void __cpuinit build_tlb_refill_handler(void)
{
/*