The new kirq patch assumes flat addressing APIC mode where apicid = (1 << cpu). This isn't true for clustered mode. - Change name/type of irq_balance_mask. The type of apicid seems to be int. - Change instance of (1<