Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / h8300 / mm / memory.c
blob4a60e2b5eb961b0133b4d803e6efe8b711e48968
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * linux/arch/h8300/mm/memory.c
5 * Copyright (C) 2002 Yoshinori Sato <ysato@users.sourceforge.jp>,
7 * Based on:
9 * linux/arch/m68knommu/mm/memory.c
11 * Copyright (C) 1998 Kenneth Albanowski <kjahds@kjahds.com>,
12 * Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com)
14 * Based on:
16 * linux/arch/m68k/mm/memory.c
18 * Copyright (C) 1995 Hamish Macdonald
21 #include <linux/mm.h>
22 #include <linux/kernel.h>
23 #include <linux/string.h>
24 #include <linux/types.h>
26 #include <asm/setup.h>
27 #include <asm/segment.h>
28 #include <asm/page.h>
29 #include <asm/traps.h>
30 #include <asm/io.h>
32 void cache_clear(unsigned long paddr, int len)
37 void cache_push(unsigned long paddr, int len)
41 void cache_push_v(unsigned long vaddr, int len)
46 * Map some physical address range into the kernel address space.
49 unsigned long kernel_map(unsigned long paddr, unsigned long size,
50 int nocacheflag, unsigned long *memavailp)
52 return paddr;