From: David S. Miller Date: Sun, 25 Sep 2005 06:06:14 +0000 (-0700) Subject: [SPARC64]: Fix mask formation in tomatillo_wsync_handler() X-Git-Tag: v2.6.14-rc3~100^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=52f26deb7c67d5f34910660200b925c1a2b8df8c;p=linux-2.6-omap-h63xx.git [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: David S. Miller --- diff --git a/arch/sparc64/kernel/pci_schizo.c b/arch/sparc64/kernel/pci_schizo.c index 331382e1a75..cae5b61fe2f 100644 --- a/arch/sparc64/kernel/pci_schizo.c +++ b/arch/sparc64/kernel/pci_schizo.c @@ -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) { 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; int limit;