login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
20
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.patchadded to gregkh-2.6 tree
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Greg KH
Subject:
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.patchadded to gregkh-2.6 tree
Date: Tuesday, February 19, 2008 - 10:04 pm
On Wed, Feb 20, 2008 at 12:48:21PM +0800, Shaohua Li wrote:
quoted text
> > On Tue, 2008-02-19 at 20:14 -0800, Greg KH wrote: > > On Wed, Feb 20, 2008 at 09:36:07AM +0800, Shaohua Li wrote: > > > --- linux.orig/include/linux/pci-acpi.h 2008-02-19 11:03:51.000000000 +0800 > > > +++ linux/include/linux/pci-acpi.h 2008-02-20 09:19:15.000000000 +0800 > > > @@ -47,6 +47,7 @@ > > > OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL) > > > > > > #ifdef CONFIG_ACPI > > > +#include <acpi/acpi_bus.h> > > > extern acpi_status pci_osc_control_set(acpi_handle handle, u32 flags); > > > extern acpi_status __pci_osc_support_set(u32 flags, const char *hid); > > > static inline acpi_status pci_osc_support_set(u32 flags) > > > @@ -59,13 +60,11 @@ static inline acpi_status pcie_osc_suppo > > > } > > > #else > > > #if !defined(AE_ERROR) > > > -typedef u32 acpi_status; > > > -#define AE_ERROR (acpi_status) (0x0001) > > > -#endif > > > -static inline acpi_status pci_osc_control_set(acpi_handle handle, u32 flags) > > > -{return AE_ERROR;} > > > -static inline acpi_status pci_osc_support_set(u32 flags) {return AE_ERROR;} > > > -static inline acpi_status pcie_osc_support_set(u32 flags) {return AE_ERROR;} > > > +#define AE_ERROR (0x0001) > > > +#endif > > > +#define pci_osc_control_set(handle, flags) (AE_ERROR) > > > +#define pci_osc_support_set(flags) (AE_ERROR) > > > +#define pcie_osc_support_set(flags) (AE_ERROR) > > > > No, please use inline functions, don't change these functions that > > should be just fine. Why are you needing to change them? > some types aren't defined in non-ACPI, like acpi_handle, acpi_status.
Then why include a non-ACPI header file in non-ACPI .c files? thanks, greg k-h --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH]PCIE ASPM support - takes 3
, Shaohua Li
, (Thu Jan 17, 6:56 pm)
Re: [PATCH]PCIE ASPM support - takes 3
, Greg KH
, (Tue Jan 22, 3:58 pm)
Re: [PATCH]PCIE ASPM support - takes 3
, Shaohua Li
, (Tue Jan 22, 7:20 pm)
Re: [PATCH]PCIE ASPM support - takes 3
, Greg KH
, (Wed Jan 23, 11:26 am)
Re: [PATCH]PCIE ASPM support - takes 3
, Shaohua Li
, (Wed Jan 23, 7:21 pm)
Re: [PATCH]PCIE ASPM support - takes 3
, Pavel Machek
, (Thu Jan 24, 10:22 am)
RE: [PATCH]PCIE ASPM support - takes 3
, Li, Shaohua
, (Fri Jan 25, 1:01 am)
patch pci-pcie-aspm-support.patch added to gregkh-2.6 tree
, gregkh
, (Fri Jan 25, 3:41 pm)
Re: [PATCH]PCIE ASPM support - takes 3
, Kok, Auke
, (Mon Jan 28, 4:14 pm)
[bootup crash, -git] Re: patch pci-pcie-aspm-support.patch ...
, Ingo Molnar
, (Sat Feb 2, 3:55 am)
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.p ...
, Greg KH
, (Sat Feb 2, 11:51 am)
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.p ...
, Ingo Molnar
, (Sat Feb 2, 12:37 pm)
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.p ...
, Shaohua Li
, (Mon Feb 18, 10:45 pm)
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.p ...
, Greg KH
, (Tue Feb 19, 4:45 pm)
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.p ...
, Shaohua Li
, (Tue Feb 19, 6:36 pm)
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.p ...
, Greg KH
, (Tue Feb 19, 9:14 pm)
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.p ...
, Shaohua Li
, (Tue Feb 19, 9:48 pm)
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.p ...
, Greg KH
, (Tue Feb 19, 10:04 pm)
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.p ...
, Shaohua Li
, (Tue Feb 19, 10:24 pm)
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.p ...
, Greg KH
, (Tue Feb 19, 10:42 pm)
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.p ...
, Shaohua Li
, (Tue Feb 19, 11:21 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rusty Russell
Re: 2.6.22-rc3-mm1
Bill Fink
Re: [PATCH] net: add ability to clear stats via ethtool - e1000/pcnet32
Jeffrey V. Merkey
Re: Versioning file system
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
OMAP: DSS2: SDI driver
Linux Kernel Mailing List
PCI: introduce pci_pcie_cap()
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
PCI hotplug: acpiphp: remove superfluous _HPP/_HPX evaluation
linux-netdev
:
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
Rafael J. Wysocki
Re: [PATCH] igb: fix kexec with igb
Patrick McHardy
Re: [rfc 02/13] [RFC 02/13] netfilter: nf_conntrack_sip: Add callid parser
webmaster Maintenance
&#32852;&#31995;&#31995;&#32479;&#31649;&#29702;&#21592;
Krzysztof Oledzki
Re: Error: an inet prefix is expected rather than "0/0".
openbsd-misc
:
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Jack J. Woehr
Re: Real men don't attack straw men
Úlfar M. E. Johnson
installing openbsd in xen
Eric Furman
Re: Defending OpenBSD Performance
Tony Abernethy
Re: The Atheros story in much fewer words
git
:
Oliver Kullmann
Re: how to move with history?
Junio C Hamano
Re: [PATCH 2/3] git-add--interactive: remove hunk coalescing
Shawn O. Pearce
Re: Bugs in Gitosis
Alex Riesen
Re: git exclude patterns for directory
David Kastrup
Re: I'm a total push-over..
Colocation donated by:
Syndicate