summaryrefslogtreecommitdiff
path: root/utils/irqbalance/patches/020-mark-EINVAL-error-permanent.patch
blob: 44eb15dc0737109b7968d4ddbfbe5ed7adbfd3d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/activate.c
+++ b/activate.c
@@ -98,11 +98,11 @@ error:
 	case ENOSPC: /* Specified CPU APIC is full. */
 	case EAGAIN: /* Interrupted by signal. */
 	case EBUSY: /* Affinity change already in progress. */
-	case EINVAL: /* IRQ would be bound to no CPU. */
 	case ERANGE: /* CPU in mask is offline. */
 	case ENOMEM: /* Kernel cannot allocate CPU mask. */
 		/* Do not blacklist the IRQ on transient errors. */
 		break;
+	case EINVAL: /* IRQ would be bound to no CPU. */
 	default:
 		/* Any other error is considered permanent. */
 		info->flags |= IRQ_FLAG_AFFINITY_UNMANAGED;