From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Date: Fri, 21 May 2021 23:45:14 +0200 Subject: [Intel-wired-lan] [PATCH] genirq: Provide new interfaces for affinity hints In-Reply-To: References: <20210504092340.00006c61@intel.com> <87pmxpdr32.ffs@nanos.tec.linutronix.de> <87im3gewlu.ffs@nanos.tec.linutronix.de> <87zgwo9u79.ffs@nanos.tec.linutronix.de> <87wnrs9tvp.ffs@nanos.tec.linutronix.de> Message-ID: <87eedzahhx.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: On Fri, May 21 2021 at 10:45, Lijun Pan wrote: > On Fri, May 21, 2021 at 7:48 AM Thomas Gleixner wrote: >> +/** >> + * irq_update_affinity_hint - Update the affinity hint >> + * @irq: Interrupt to update >> + * @cpumask: cpumask pointer (NULL to clear the hint) >> + * >> + * Updates the affinity hint, but does not change the affinity of the interrupt. >> + */ >> +static inline int >> +irq_update_affinity_hint(unsigned int irq, const struct cpumask *m) >> +{ >> + return __irq_apply_affinity_hint(irq, m, true); >> +} > > Should it be: > return __irq_apply_affinity_hint(irq, m, false); > here? Of course. Copy & Pasta should be forbidden. Thanks for spotting it! tglx