]> git.ipfire.org Git - network.git/commitdiff
interrupts: Rename __bitmap_to_processor_id() which returns multiple values
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Jun 2017 17:08:59 +0000 (19:08 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Jun 2017 17:08:59 +0000 (19:08 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.interrupts

index e050c6a660873d88768a0b33bec192df164a9042..4e089d35943e44eaa4723326b49e1e9c264b46af 100644 (file)
@@ -77,10 +77,10 @@ interrupt_get_smp_affinity() {
        assert [ -r "${path}" ]
 
        # Convert bitmap to list of processors
-       __bitmap_to_processor_id $(<${path})
+       __bitmap_to_processor_ids $(<${path})
 }
 
-__bitmap_to_processor_id() {
+__bitmap_to_processor_ids() {
        local bitmap=${1}
 
        # This function shifts the bit map to the right