diff options
author | Greg Ungerer <gerg@snapgear.com> | 2006-01-10 01:39:35 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 12:31:26 -0500 |
commit | 82409799853c3cabc4b17533ff640a95bef01358 (patch) | |
tree | 4a6728df6b0cafe392d03e904687f4e41727b544 /arch/h8300/mm/memory.c | |
parent | 7ba6b5ece34fb799f63c72c35a30dac8aca735eb (diff) |
[PATCH] h8300: remove MAGIC_ROM_PTR from memory.c
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>
Diffstat (limited to 'arch/h8300/mm/memory.c')
-rw-r--r-- | arch/h8300/mm/memory.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/h8300/mm/memory.c b/arch/h8300/mm/memory.c index f4ddece3216f..81eace93f867 100644 --- 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, | |||
55 | return paddr; | 55 | return paddr; |
56 | } | 56 | } |
57 | 57 | ||
58 | #ifdef MAGIC_ROM_PTR | ||
59 | |||
60 | int is_in_rom(unsigned long addr) | ||
61 | { | ||
62 | /* Anything not in operational RAM is returned as in rom! */ | ||
63 | if (addr < _ramstart || addr >= _ramend) | ||
64 | return 1; | ||
65 | else | ||
66 | return 0; | ||
67 | } | ||
68 | |||
69 | #endif | ||
70 | |||