diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-05-20 07:13:50 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2011-05-20 07:13:50 -0700 |
commit | 5a1d4ee6db359887ad5b65150fa5de7312a06202 (patch) | |
tree | 8ea2f84920f6fa72e64bd6184c83fcbd917eb165 /scripts/system/irq-affinity.pl | |
parent | 262ab1d763600bcbe3bed48ad1efb28c48fbf2d4 (diff) | |
download | vyatta-cfg-system-5a1d4ee6db359887ad5b65150fa5de7312a06202.tar.gz vyatta-cfg-system-5a1d4ee6db359887ad5b65150fa5de7312a06202.zip |
irq-affinity: initialize sockets to 1
Diffstat (limited to 'scripts/system/irq-affinity.pl')
-rwxr-xr-x | scripts/system/irq-affinity.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/system/irq-affinity.pl b/scripts/system/irq-affinity.pl index 6112de3e..d12b7ed0 100755 --- a/scripts/system/irq-affinity.pl +++ b/scripts/system/irq-affinity.pl @@ -74,8 +74,8 @@ sub irqinfo { # Determine number of cpus and cores sub cpuinfo { - my ( $cpus, $cores ); - my $sockets = 0; + my ($cpus, $cores); + my $sockets = 1; open( my $f, '<', "/proc/cpuinfo" ) or die "Can't read /proc/cpuinfo"; |