From: Michael Tremer Date: Wed, 7 Jun 2017 17:08:59 +0000 (+0200) Subject: interrupts: Rename __bitmap_to_processor_id() which returns multiple values X-Git-Tag: 009~223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4115b00b6e2fcfd2f8d9995f0ad4f471c875b020;p=network.git interrupts: Rename __bitmap_to_processor_id() which returns multiple values Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.interrupts b/src/functions/functions.interrupts index e050c6a6..4e089d35 100644 --- a/src/functions/functions.interrupts +++ b/src/functions/functions.interrupts @@ -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