提交 82409799 编写于 作者: G Greg Ungerer 提交者: Linus Torvalds

[PATCH] h8300: remove MAGIC_ROM_PTR from memory.c

Remove obsolete MAGIC_ROM_PTR code from h8300 architecture.
Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 7ba6b5ec
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册