Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP1
ibmrtpkgs
irqbindall_cosmetic_fix-bnc703490.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File irqbindall_cosmetic_fix-bnc703490.diff of Package ibmrtpkgs
From: Jean Delvare <jdelvare@suse.de> Subject: irqbindall: Fix wrong assumption on /proc/irq contents References: bnc#703490 /proc/irq can contain extra files (in particular default_smp_affinity) so avoid wrong assumptions and only process actual per-irq directories. --- irqbindall/irqbindall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: ibmrtpkgs-2/irqbindall/irqbindall =================================================================== --- ibmrtpkgs-2.orig/irqbindall/irqbindall +++ ibmrtpkgs-2/irqbindall/irqbindall @@ -29,7 +29,7 @@ start() { echo -n "Binding interrupts to cpu_mask: $cpumask... " exec 3>&1 - for i in `ls /proc/irq/ | grep -v cpu_mask` ; + for i in `ls /proc/irq/ | grep '^[0-9]'` do stderr="$((echo "$cpumask" > /proc/irq/$i/smp_affinity) 2>&1 >&3 3>&-)" if [ -n "$stderr" ]; then
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor