From: Greg Ungerer Date: Tue, 10 Jan 2006 06:39:35 +0000 (+1000) Subject: [PATCH] h8300: remove MAGIC_ROM_PTR from memory.c X-Git-Tag: v2.6.16-rc1~460 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82409799853c3cabc4b17533ff640a95bef01358;p=linux-2.6 [PATCH] h8300: remove MAGIC_ROM_PTR from memory.c Remove obsolete MAGIC_ROM_PTR code from h8300 architecture. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds --- diff --git a/arch/h8300/mm/memory.c b/arch/h8300/mm/memory.c index f4ddece321..81eace93f8 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, 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 -