projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba6b5e
)
[PATCH] h8300: remove MAGIC_ROM_PTR from memory.c
author
Greg Ungerer
<gerg@snapgear.com>
Tue, 10 Jan 2006 06:39:35 +0000
(16:39 +1000)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 10 Jan 2006 17:31:26 +0000
(09:31 -0800)
Remove obsolete MAGIC_ROM_PTR code from h8300 architecture.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/h8300/mm/memory.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/h8300/mm/memory.c
b/arch/h8300/mm/memory.c
index f4ddece3216f9f0f88955fe879330df91496ec7e..81eace93f8679be6e5a26bb11e9e6d6464ecee43 100644
(file)
--- a/
arch/h8300/mm/memory.c
+++ b/
arch/h8300/mm/memory.c
@@
-55,16
+55,3
@@
unsigned long kernel_map(unsigned long paddr, unsigned long size,
return paddr;
}
-#ifdef MAGIC_ROM_PTR
-
-int is_in_rom(unsigned long addr)
-{
- /* Anything not in operational RAM is returned as in rom! */
- if (addr < _ramstart || addr >= _ramend)
- return 1;
- else
- return 0;
-}
-
-#endif
-