Commit 959f7d58 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Move over the SH-5 head.S and tlb.h.



Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 256b22ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
# Makefile for the Linux/SuperH kernel.
#

extra-y	:= head.o init_task.o vmlinux.lds
extra-y	:= head_32.o init_task.o vmlinux.lds

obj-y	:= debugtraps.o io.o io_generic.o irq.o machvec.o process_32.o \
	   ptrace_32.o semaphore.o setup.o signal_32.o sys_sh.o syscalls.o \
+1 −1
Original line number Diff line number Diff line
extra-y	:= head.o init_task.o vmlinux.lds
extra-y	:= head_64.o init_task.o vmlinux.lds

obj-y	:= debugtraps.o io.o io_generic.o irq.o machvec.o process_64.o \
	   ptrace_64.o semaphore.o setup.o signal_64.o sys_sh64.o syscalls.o \
+0 −0

File moved.

+2 −7
Original line number Diff line number Diff line
@@ -19,14 +19,11 @@
 * lethal@linux-sh.org:          8th May 2004
 *    Add early SCIF console DTLB mapping.
 */


#include <asm/page.h>
#include <asm/mmu_context.h>
#include <asm/cache.h>
#include <asm/tlb.h>
#include <asm/processor.h>
#include <asm/registers.h>
#include <asm/cpu/registers.h>
#include <asm/cpu/mmu_context.h>
#include <asm/thread_info.h>

/*
@@ -368,5 +365,3 @@ hopeless:
	 * (r32) _start_kernel address
	 */
	blink	tr7, ZERO

+9 −1
Original line number Diff line number Diff line
#ifndef __ASM_SH_TLB_H
#define __ASM_SH_TLB_H

#ifdef CONFIG_SUPERH64
# include "tlb_64.h"
#endif

#ifndef __ASSEMBLY__

#define tlb_start_vma(tlb, vma) \
	flush_cache_range(vma, vma->vm_start, vma->vm_end)

@@ -15,4 +21,6 @@
#define tlb_flush(tlb)				flush_tlb_mm((tlb)->mm)

#include <asm-generic/tlb.h>
#endif

#endif /* __ASSEMBLY__ */
#endif /* __ASM_SH_TLB_H */
Loading