ioremap.c (c95baf12f5077419db01313ab61c2aac007d40cd) ioremap.c (3eef6b74d9fecf18b03db26584cc66928972a60b)
1/*
2 * arch/sh/mm/ioremap.c
3 *
4 * (C) Copyright 1995 1996 Linus Torvalds
5 * (C) Copyright 2005 - 2010 Paul Mundt
6 *
7 * Re-map IO memory to kernel address space so that we can access it.
8 * This is needed for high PCI addresses that aren't mapped in the

--- 10 unchanged lines hidden (view full) ---

19#include <linux/pci.h>
20#include <linux/io.h>
21#include <asm/page.h>
22#include <asm/pgalloc.h>
23#include <asm/addrspace.h>
24#include <asm/cacheflush.h>
25#include <asm/tlbflush.h>
26#include <asm/mmu.h>
1/*
2 * arch/sh/mm/ioremap.c
3 *
4 * (C) Copyright 1995 1996 Linus Torvalds
5 * (C) Copyright 2005 - 2010 Paul Mundt
6 *
7 * Re-map IO memory to kernel address space so that we can access it.
8 * This is needed for high PCI addresses that aren't mapped in the

--- 10 unchanged lines hidden (view full) ---

19#include <linux/pci.h>
20#include <linux/io.h>
21#include <asm/page.h>
22#include <asm/pgalloc.h>
23#include <asm/addrspace.h>
24#include <asm/cacheflush.h>
25#include <asm/tlbflush.h>
26#include <asm/mmu.h>
27#include "ioremap.h"
27
28/*
29 * Remap an arbitrary physical address space into the kernel virtual
30 * address space. Needed when the kernel wants to access high addresses
31 * directly.
32 *
33 * NOTE! We need to allow non-page-aligned mappings too: we will obviously
34 * have to convert them into an offset in a page-aligned mapping, but the

--- 103 unchanged lines hidden ---
28
29/*
30 * Remap an arbitrary physical address space into the kernel virtual
31 * address space. Needed when the kernel wants to access high addresses
32 * directly.
33 *
34 * NOTE! We need to allow non-page-aligned mappings too: we will obviously
35 * have to convert them into an offset in a page-aligned mapping, but the

--- 103 unchanged lines hidden ---