diff options
-rwxr-xr-x | target/linux/ramips/mt7621/base-files/etc/init.d/set-irq-affinity | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/init.d/set-irq-affinity b/target/linux/ramips/mt7621/base-files/etc/init.d/set-irq-affinity deleted file mode 100755 index c118d928a7..0000000000 --- a/target/linux/ramips/mt7621/base-files/etc/init.d/set-irq-affinity +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh /etc/rc.common - -START=99 - -start() { - if grep -q 'processor.*: 2' /proc/cpuinfo; then - mask=4 - elif grep -q 'processor.*: 1' /proc/cpuinfo; then - mask=2 - else - return - fi - - for irq in $(grep "mt76..e" /proc/interrupts | cut -d: -f1 | sed 's, *,,') - do - echo "$mask" > "/proc/irq/$irq/smp_affinity" - [ $mask = 4 ] && mask=8 - done -} |