irqchip: xtensa: Select only an online cpu
irqchip: xtensa: Select only an online cpu

The user space interface does not filter out offline cpus. It merily
verifies that the mask contains at least one online cpu. So the
selector in the irq chip implementation needs to make sure to pick
only an online cpu because otherwise:

     Offline Core 1
     Set affinity to 0xe
     Selector will pick first set bit, i.e. core 1

Signed-off-by: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>
Cc: Chris Zankel <711c73f64afdce07b7e38039a96d2224209e9a6c@zankel.net>
Cc: xtensa <76026cac76fffa8b029166efa1c2d314346e1f47@linux-xtensa.org>


KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs