Commit 52f26deb authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix mask formation in tomatillo_wsync_handler()

"1" needs to be "1UL", this is a 64-bit mask we're creating.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 898cf0ec
...@@ -330,7 +330,7 @@ static int schizo_ino_to_pil(struct pci_dev *pdev, unsigned int ino) ...@@ -330,7 +330,7 @@ static int schizo_ino_to_pil(struct pci_dev *pdev, unsigned int ino)
static void tomatillo_wsync_handler(struct ino_bucket *bucket, void *_arg1, void *_arg2) static void tomatillo_wsync_handler(struct ino_bucket *bucket, void *_arg1, void *_arg2)
{ {
unsigned long sync_reg = (unsigned long) _arg2; unsigned long sync_reg = (unsigned long) _arg2;
u64 mask = 1 << (__irq_ino(__irq(bucket)) & IMAP_INO); u64 mask = 1UL << (__irq_ino(__irq(bucket)) & IMAP_INO);
u64 val; u64 val;
int limit; int limit;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment