diff options
| -rw-r--r-- | arch/microblaze/kernel/intc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/intc.c b/arch/microblaze/kernel/intc.c index 01ae73088578..8965fd379570 100644 --- a/arch/microblaze/kernel/intc.c +++ b/arch/microblaze/kernel/intc.c | |||
| @@ -157,7 +157,7 @@ static int __init xilinx_intc_of_init(struct device_node *intc, | |||
| 157 | return ret; | 157 | return ret; |
| 158 | } | 158 | } |
| 159 | 159 | ||
| 160 | if (intr_mask > (u32)((1ULL << nr_irq) - 1)) | 160 | if (intr_mask >> nr_irq) |
| 161 | pr_info(" ERROR: Mismatch in kind-of-intr param\n"); | 161 | pr_info(" ERROR: Mismatch in kind-of-intr param\n"); |
| 162 | 162 | ||
| 163 | pr_info("%s: num_irq=%d, edge=0x%x\n", | 163 | pr_info("%s: num_irq=%d, edge=0x%x\n", |
