Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82409799 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds
Browse files

[PATCH] h8300: remove MAGIC_ROM_PTR from memory.c



Remove obsolete MAGIC_ROM_PTR code from h8300 architecture.

Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7ba6b5ec
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -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