projects
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kconfig: readd lost change count
[linux-2.6]
/
lib
/
iomap.c
diff --git
a/lib/iomap.c
b/lib/iomap.c
index
37a3ea4
..
d322293
100644
(file)
--- a/
lib/iomap.c
+++ b/
lib/iomap.c
@@
-40,8
+40,7
@@
static void bad_io_access(unsigned long port, const char *access)
static int count = 10;
if (count) {
count--;
- printk(KERN_ERR "Bad IO access at port %#lx (%s)\n", port, access);
- WARN_ON(1);
+ WARN(1, KERN_ERR "Bad IO access at port %#lx (%s)\n", port, access);
}
}