summaryrefslogtreecommitdiffstats
path: root/include/asm-m68knommu/pgtable.h
diff options
context:
space:
mode:
authorGreg Ungerer2007-07-19 10:49:15 +0200
committerLinus Torvalds2007-07-19 19:04:51 +0200
commit10146801e8b960d7473e350b60458d9d5a2be1cf (patch)
tree98b42daabeda36e89202265dd2e83c9d4703602a /include/asm-m68knommu/pgtable.h
parentm68knommu: start dump from exception stack (diff)
downloadkernel-qcow2-linux-10146801e8b960d7473e350b60458d9d5a2be1cf.tar.gz
kernel-qcow2-linux-10146801e8b960d7473e350b60458d9d5a2be1cf.tar.xz
kernel-qcow2-linux-10146801e8b960d7473e350b60458d9d5a2be1cf.zip
m68knommu: remove is_in_rom() function
Remove is_in_rom() function. It doesn't actually serve the purpose it was intended to. If you look at the use of it _access_ok() (which is the only use of it) then it is obvious that most of memory is marked as access_ok. No point having is_in_rom() then, so remove it. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-m68knommu/pgtable.h')
-rw-r--r--include/asm-m68knommu/pgtable.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-m68knommu/pgtable.h b/include/asm-m68knommu/pgtable.h
index 9dfbbc24aa71..e1e6a1d2333a 100644
--- a/include/asm-m68knommu/pgtable.h
+++ b/include/asm-m68knommu/pgtable.h
@@ -49,7 +49,6 @@ static inline int pte_file(pte_t pte) { return 0; }
* These would be in other places but having them here reduces the diffs.
*/
extern unsigned int kobjsize(const void *objp);
-extern int is_in_rom(unsigned long);
/*
* No page table caches to initialise.