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: Shaohua Li
Subject:
Re: [bootup crash, -git] Re: patch pci-pcie-aspm-support.patchadded to gregkh-2.6 tree
Date: Tuesday, February 19, 2008 - 9:48 pm
On Tue, 2008-02-19 at 20:14 -0800, Greg KH wrote:
quoted text
> 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. Thanks, Shaohua --
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
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Frederic Weisbecker
[PATCH v2] struct sort_entry has a callback named snprintf that turns an entry int...
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Jens Axboe
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bo...
Andrew Morton
Re: [PATCH v3 0/4] Introduce hardware spinlock framework
Ingo Molnar
Re: [GIT PULL] time.c - respin
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Junio C Hamano
Re: git-svnimport
Michal Sojka
[PATCHv5 1/2] filter-branch: Fix to allow replacing submodules with another content
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
git-commits-head
:
Linux Kernel Mailing List
sata_mv: drop unncessary EH callback resetting
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ARM: S3C64XX: DMA: Callback with correct buffer pointer
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
openbsd-misc
:
Rene Maroufi
smtpd: Aliases only work with for local alias aliases
Stephen J. Bevan
GRE over IPsec
Christophe Rioux
Implementation example of snmp
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate