]> git.baikalelectronics.ru Git - kernel.git/commit
cyclone.c: silly use of volatile, __iomem fixes
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 26 Jul 2007 16:34:59 +0000 (17:34 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 26 Jul 2007 18:11:57 +0000 (11:11 -0700)
commit8df6497c15fa1560bb80b6c2e0af5210dc6d534b
tree2eb8233f350766a3582d5a3dfcf87c3590f44c81
parentbe2d7e6b41c5b49fe7aec369366451053abe57cb
cyclone.c: silly use of volatile, __iomem fixes

u32* volatile cyclone_timer means volatile auto pointer to u32,
which is clearly not what had been intended (we never even take
the address of that variable, let alone pass it to something that
could change it behind our back).  u32 volatile * is what the
authors apparently wanted to say, but in reality we don't need that
qualifier there at all - it's (properly) only passed to iomem helpers
which takes care of that stuff just fine.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/ia64/kernel/cyclone.c