[PATCH] Add a function to handle interrupt affinity setting