projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cc977a
)
[ARM] 2991/1: Replace map_desc.physical with map_desc.pfn: Shark
author
Deepak Saxena
<dsaxena@plexity.net>
Fri, 28 Oct 2005 14:19:03 +0000
(15:19 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 28 Oct 2005 14:19:03 +0000
(15:19 +0100)
Patch from Deepak Saxena
Shark map_desc.pfn conversion
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-shark/core.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-shark/core.c
b/arch/arm/mach-shark/core.c
index 946c0d11c73b6d80c0dd8e60c8725ba478dd270b..2d428b6dbb58a808e3384f643dd1888d7fa06645 100644
(file)
--- a/
arch/arm/mach-shark/core.c
+++ b/
arch/arm/mach-shark/core.c
@@
-62,7
+62,12
@@
arch_initcall(shark_init);
extern void shark_init_irq(void);
static struct map_desc shark_io_desc[] __initdata = {
- { IO_BASE , IO_START , IO_SIZE , MT_DEVICE }
+ {
+ .virtual = IO_BASE,
+ .pfn = __phys_to_pfn(IO_START),
+ .length = IO_SIZE,
+ .type = MT_DEVICE
+ }
};
static void __init shark_map_io(void)