Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
ad81eb91
Commit
ad81eb91
authored
Nov 11, 2007
by
Paul Mundt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh: Split out ioremap in to _32 and _64 variants.
Signed-off-by:
Paul Mundt
<
lethal@linux-sh.org
>
parent
4b7be4f2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
8 deletions
+12
-8
arch/sh/mm/Makefile_32
arch/sh/mm/Makefile_32
+1
-1
arch/sh/mm/Makefile_64
arch/sh/mm/Makefile_64
+5
-0
arch/sh/mm/ioremap_32.c
arch/sh/mm/ioremap_32.c
+0
-0
arch/sh/mm/ioremap_64.c
arch/sh/mm/ioremap_64.c
+6
-7
No files found.
arch/sh/mm/Makefile_32
View file @
ad81eb91
...
@@ -13,7 +13,7 @@ endif
...
@@ -13,7 +13,7 @@ endif
mmu-y := tlb-nommu.o pg-nommu.o
mmu-y := tlb-nommu.o pg-nommu.o
mmu-$(CONFIG_MMU) := fault.o clear_page.o copy_page.o tlb-flush.o \
mmu-$(CONFIG_MMU) := fault.o clear_page.o copy_page.o tlb-flush.o \
ioremap.o
ioremap
_32
.o
obj-y += $(mmu-y)
obj-y += $(mmu-y)
...
...
arch/sh/mm/Makefile_64
View file @
ad81eb91
...
@@ -4,6 +4,11 @@
...
@@ -4,6 +4,11 @@
obj-y := init.o extable_64.o consistent.o
obj-y := init.o extable_64.o consistent.o
mmu-y := tlb-nommu.o pg-nommu.o
mmu-$(CONFIG_MMU) := ioremap_64.o
obj-y += $(mmu-y)
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
obj-$(CONFIG_PMB) += pmb.o
obj-$(CONFIG_PMB) += pmb.o
obj-$(CONFIG_NUMA) += numa.o
obj-$(CONFIG_NUMA) += numa.o
...
...
arch/sh/mm/ioremap.c
→
arch/sh/mm/ioremap
_32
.c
View file @
ad81eb91
File moved
arch/sh
64/mm/ioremap
.c
→
arch/sh
/mm/ioremap_64
.c
View file @
ad81eb91
...
@@ -13,18 +13,17 @@
...
@@ -13,18 +13,17 @@
*
*
* (C) Copyright 1995 1996 Linus Torvalds
* (C) Copyright 1995 1996 Linus Torvalds
*/
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>
#include <linux/vmalloc.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/ioport.h>
#include <linux/bootmem.h>
#include <linux/proc_fs.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/io.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
#include <asm/pgalloc.h>
#include <asm/addrspace.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
#include <asm/tlbflush.h>
#include <asm/mmu.h>
static
void
shmedia_mapioaddr
(
unsigned
long
,
unsigned
long
);
static
void
shmedia_mapioaddr
(
unsigned
long
,
unsigned
long
);
static
unsigned
long
shmedia_ioremap
(
struct
resource
*
,
u32
,
int
);
static
unsigned
long
shmedia_ioremap
(
struct
resource
*
,
u32
,
int
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment