git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] m32r: NONCACHE_OFFSET in _port2addr
[safe/jmp/linux-2.6]
/
arch
/
m32r
/
kernel
/
io_opsput.c
diff --git
a/arch/m32r/kernel/io_opsput.c
b/arch/m32r/kernel/io_opsput.c
index
e34951e
..
5ac84b1
100644
(file)
--- a/
arch/m32r/kernel/io_opsput.c
+++ b/
arch/m32r/kernel/io_opsput.c
@@
-36,7
+36,7
@@
extern void pcc_iowrite_word(int, unsigned long, void *, size_t, size_t, int);
static inline void *_port2addr(unsigned long port)
{
- return (void *)(port
+ NONCACHE_OFFSET
);
+ return (void *)(port
| (NONCACHE_OFFSET)
);
}
/*