Skip to content

Commit

Permalink
[PATCH] h8300: remove MAGIC_ROM_PTR from memory.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Jan 10, 2006
1 parent 7ba6b5e commit 8240979
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions arch/h8300/mm/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8240979

Please sign in to comment.