From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [RFC] Spurious PIC interrupts Date: Wed, 29 Aug 2012 10:50:00 +0100 Message-ID: References: <503DDC13.30206@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <503DDC13.30206@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Jan Beulich , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On 29/08/2012 10:08, "Andrew Cooper" wrote: >> No, you should make the change to _mask_and_ack_8259A_irq() itself, and >> callers which do not care about the return code can simply discard it. > > Ok - I initially avoided that because _mask_and_ack_8259A_irq() is used > to fill a function pointer structure, and preferred less change to the core. > > I will re-design somewhat with these points in mind. Worst case rename to __mask_and_ack_8259A_irq() and implement new _mask_and_ack_8259A_irq() which simply calls it and discards the return code. Still much better than duplicating the function. -- Keir