[PATCH] mm: schedule find_trylock_page() removal
[pv_ops_mirror.git] / arch / h8300 / mm / memory.c
blob81eace93f8679be6e5a26bb11e9e6d6464ecee43
1 /*
2 * linux/arch/h8300/mm/memory.c
4 * Copyright (C) 2002 Yoshinori Sato <ysato@users.sourceforge.jp>,
6 * Based on:
8 * linux/arch/m68knommu/mm/memory.c
10 * Copyright (C) 1998 Kenneth Albanowski <kjahds@kjahds.com>,
11 * Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
13 * Based on:
15 * linux/arch/m68k/mm/memory.c
17 * Copyright (C) 1995 Hamish Macdonald
20 #include <linux/config.h>
21 #include <linux/mm.h>
22 #include <linux/kernel.h>
23 #include <linux/string.h>
24 #include <linux/types.h>
25 #include <linux/slab.h>
27 #include <asm/setup.h>
28 #include <asm/segment.h>
29 #include <asm/page.h>
30 #include <asm/pgtable.h>
31 #include <asm/system.h>
32 #include <asm/traps.h>
33 #include <asm/io.h>
35 void cache_clear (unsigned long paddr, int len)
40 void cache_push (unsigned long paddr, int len)
44 void cache_push_v (unsigned long vaddr, int len)
48 /* Map some physical address range into the kernel address space. The
49 * code is copied and adapted from map_chunk().
52 unsigned long kernel_map(unsigned long paddr, unsigned long size,
53 int nocacheflag, unsigned long *memavailp )
55 return paddr;