aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/mm
diff options
context:
space:
mode:
authorHelge Deller <deller@parisc-linux.org>2006-03-23 03:07:00 -0500
committerKyle McMartin <kyle@hera.kernel.org>2006-03-30 12:48:50 -0500
commita41d3862dfd44a1b09a0f6243bb34773061fd9a2 (patch)
treea290e1f3da6bc28cea62f9010482e962c50e3e32 /arch/parisc/mm
parentcb4ab59cd6136f6ad6b3513054ac969fea02dfc6 (diff)
[PARISC] Remove obsolete CONFIG_DEBUG_IOREMAP
Remove CONFIG_DEBUG_IOREMAP, it's now obsolete and won't work anyway. Remove it from lib/KConfig since it was only available on parisc. Signed-off-by: Helge Deller <deller@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/mm')
-rw-r--r--arch/parisc/mm/ioremap.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/parisc/mm/ioremap.c b/arch/parisc/mm/ioremap.c
index 21a16747e56e..a5967b7d3726 100644
--- a/arch/parisc/mm/ioremap.c
+++ b/arch/parisc/mm/ioremap.c
@@ -114,30 +114,6 @@ remap_area_pages(unsigned long address, unsigned long phys_addr,
114 return error; 114 return error;
115} 115}
116 116
117#ifdef CONFIG_DEBUG_IOREMAP
118static unsigned long last = 0;
119
120void gsc_bad_addr(unsigned long addr)
121{
122 if (time_after(jiffies, last + HZ*10)) {
123 printk("gsc_foo() called with bad address 0x%lx\n", addr);
124 dump_stack();
125 last = jiffies;
126 }
127}
128EXPORT_SYMBOL(gsc_bad_addr);
129
130void __raw_bad_addr(const volatile void __iomem *addr)
131{
132 if (time_after(jiffies, last + HZ*10)) {
133 printk("__raw_foo() called with bad address 0x%p\n", addr);
134 dump_stack();
135 last = jiffies;
136 }
137}
138EXPORT_SYMBOL(__raw_bad_addr);
139#endif
140
141/* 117/*
142 * Generic mapping function (not visible outside): 118 * Generic mapping function (not visible outside):
143 */ 119 */