[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52964C9A.6040305@oracle.com>
Date: Wed, 27 Nov 2013 12:48:42 -0700
From: Khalid Aziz <khalid.aziz@...cle.com>
To: Matthew Garrett <mjg59@...f.ucam.org>
CC: bhelgaas@...gle.com, cl91tp@...il.com, tianyu.lan@...el.com,
khlebnikov@...nvz.org, gnomes@...rguk.ukuu.org.uk,
indou.takao@...fujitsu.com, jility09@...il.com, f.otti@....at,
ebiederm@...ssion.com, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org, kexec@...ts.infradead.org,
stable@...r.kernel.org
Subject: Re: [PATCH] PCI: Clear Bus Master bit only on kexec reboot
On 11/27/2013 12:24 PM, Matthew Garrett wrote:
> On Wed, Nov 27, 2013 at 12:18:28PM -0700, Khalid Aziz wrote:
>
>> +/* flag to track if kexec reboot is in progress */
>> +extern unsigned long kexec_in_progress;
>
> Adding this to pci.h seems a little odd. We may want to use it somewhere
> else at some point. Add it to kexec.h instead?
>
I debated between pci.h and kexec.h but pci-driver.c does not include
kexec.h and I didn't want to include a whole new file. Now I see another
problem with adding that extern declaration to pci.h - if CONFIG_KEXEC
is not set, build will fail. I should add #ifdef CONFIG_KEXEC to the
code in pci-driver.c as well. Time for v2.
--
Khalid
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists