VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Greg Ungerer <gerg@snapgear.com> 2006-01-10 16:39:35 +1000 committer: Linus Torvalds <torvalds@g5.osdl.org> 2006-01-10 09:31:26 -0800 commit: 82409799853c3cabc4b17533ff640a95bef01358 parent: 7ba6b5ece34fb799f63c72c35a30dac8aca735eb
Commit Summary:
[PATCH] h8300: remove MAGIC_ROM_PTR from memory.c
Diffstat:
1 file changed, 0 insertions, 10 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,
 	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
-