summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-ahci-fix-oops-on-dummy-port.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-18 15:32:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-18 15:36:06 +0000
commit673abd92f999829bdd67d0273c43570a62123a63 (patch)
tree63132d1ffc1cb5bf50d244b184ca8d58a9cbc85c /meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-ahci-fix-oops-on-dummy-port.patch
parentfed61beb31c47e2d96af905a7047fe78d64c9bd0 (diff)
downloadopenembedded-core-673abd92f999829bdd67d0273c43570a62123a63.tar.gz
openembedded-core-673abd92f999829bdd67d0273c43570a62123a63.tar.bz2
openembedded-core-673abd92f999829bdd67d0273c43570a62123a63.tar.xz
openembedded-core-673abd92f999829bdd67d0273c43570a62123a63.zip
conf/machine: Drop older machines with no recent updates
These are all moving to meta-extras. Ideally in the future machines such as these will be maintained to topic specific layers as we move to a more layer oriented model. If this causes a problem for anyone please discuss it on the mailing list. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-ahci-fix-oops-on-dummy-port.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-ahci-fix-oops-on-dummy-port.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-ahci-fix-oops-on-dummy-port.patch b/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-ahci-fix-oops-on-dummy-port.patch
deleted file mode 100644
index 103c7f65a..000000000
--- a/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.33-ahci-fix-oops-on-dummy-port.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From: Yong Wang <yong.y.wang@intel.com>
-Date: Thu Mar 11 15:31:50 2010 +0800
-Subject: [PATCH] ahci: Fix accounting oops on dummy port
-
-Not all ports are implemented in AHCI mode on some machines.
-If this is the case, it results in NULL pointer dereference
-when doing alpm accounting. Skip such dummy ports.
-
-Signed-off-by: Yong Wang <yong.y.wang@intel.com>
----
- drivers/ata/ahci.c | 10 ++++++++--
- 1 file changed, 8 insertions(+), 2 deletions(-)
-
---- a/drivers/ata/ahci.c
-+++ b/drivers/ata/ahci.c
-@@ -2283,8 +2283,8 @@ static ssize_t ahci_alpm_show_active(str
- struct ata_port *ap = ata_shost_to_port(shost);
- struct ahci_port_priv *pp;
-
-- if (!ap)
-- return;
-+ if (!ap || ata_port_is_dummy(ap))
-+ return 0;
- pp = ap->private_data;
- account_alpm_stats(ap);
-
-@@ -2298,6 +2298,8 @@ static ssize_t ahci_alpm_show_partial(st
- struct ata_port *ap = ata_shost_to_port(shost);
- struct ahci_port_priv *pp = ap->private_data;
-
-+ if (!ap || ata_port_is_dummy(ap))
-+ return 0;
- account_alpm_stats(ap);
-
- return sprintf(buf, "%u\n", jiffies_to_msecs(pp->partial_jiffies));
-@@ -2310,6 +2312,8 @@ static ssize_t ahci_alpm_show_slumber(st
- struct ata_port *ap = ata_shost_to_port(shost);
- struct ahci_port_priv *pp = ap->private_data;
-
-+ if (!ap || ata_port_is_dummy(ap))
-+ return 0;
- account_alpm_stats(ap);
-
- return sprintf(buf, "%u\n", jiffies_to_msecs(pp->slumber_jiffies));
-@@ -2323,6 +2327,8 @@ static ssize_t ahci_alpm_show_accounting
- struct ata_port *ap = ata_shost_to_port(shost);
- struct ahci_port_priv *pp = ap->private_data;
-
-+ if (!ap || ata_port_is_dummy(ap))
-+ return 0;
- return sprintf(buf, "%u\n", pp->accounting_active);
- }
-