Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * linux/arch/m68knommu/mm/memory.c |
| 3 | * |
| 4 | * Copyright (C) 1998 Kenneth Albanowski <kjahds@kjahds.com>, |
| 5 | * Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com) |
| 6 | * |
| 7 | * Based on: |
| 8 | * |
| 9 | * linux/arch/m68k/mm/memory.c |
| 10 | * |
| 11 | * Copyright (C) 1995 Hamish Macdonald |
| 12 | */ |
| 13 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | #include <linux/mm.h> |
| 15 | #include <linux/kernel.h> |
| 16 | #include <linux/string.h> |
| 17 | #include <linux/types.h> |
| 18 | #include <linux/slab.h> |
| 19 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | #include <asm/segment.h> |
| 21 | #include <asm/page.h> |
| 22 | #include <asm/pgtable.h> |
| 23 | #include <asm/system.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | |
| 25 | /* |
Greg Ungerer | 17d8725 | 2007-07-15 23:38:33 -0700 | [diff] [blame] | 26 | * Map some physical address range into the kernel address space. |
| 27 | * The code is copied and adapted from map_chunk(). |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 28 | */ |
| 29 | |
| 30 | unsigned long kernel_map(unsigned long paddr, unsigned long size, |
| 31 | int nocacheflag, unsigned long *memavailp ) |
| 32 | { |
| 33 | return paddr; |
| 34 | } |
| 35 | |