diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-08-28 17:25:32 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-08-31 02:06:50 -0400 |
commit | 6e69d6068cc2aa545544189a1ee4d2e1a32ad591 (patch) | |
tree | f41bcae5ffda725dc5588acbde5d4809f296d49e /arch/sparc64/kernel/irq.c | |
parent | 2d8348b429b4ae5cc47449c787881221fe43af4b (diff) |
[SPARC64]: Fix type and constant sizes wrt. sun4u IMAP/ICLR handling.
Sometimes we were using 32-bit values and the top bits were
getting inadvertantly chopped off. This will matter for the
forthcoming Fire controller MSI support.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/irq.c')
-rw-r--r-- | arch/sparc64/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c index 384abf410cf0..51b8875a13a8 100644 --- a/arch/sparc64/kernel/irq.c +++ b/arch/sparc64/kernel/irq.c | |||
@@ -308,7 +308,7 @@ static void sun4u_irq_disable(unsigned int virt_irq) | |||
308 | 308 | ||
309 | if (likely(data)) { | 309 | if (likely(data)) { |
310 | unsigned long imap = data->imap; | 310 | unsigned long imap = data->imap; |
311 | u32 tmp = upa_readq(imap); | 311 | unsigned long tmp = upa_readq(imap); |
312 | 312 | ||
313 | tmp &= ~IMAP_VALID; | 313 | tmp &= ~IMAP_VALID; |
314 | upa_writeq(tmp, imap); | 314 | upa_writeq(tmp, imap); |