lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 8 Aug 2006 09:44:26 -0400
From:	Kristen Carlson Accardi <kristen.c.accardi@...el.com>
To:	pcihpd-discuss@...ts.sourceforge.net
Cc:	linux-kernel@...r.kernel.org, greg@...ah.com
Subject: [patch] pciehp: make pciehp build for powerpc


Make pciehp build on powerpc

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@...el.com>
Acked-by: Randy Dunlap <rdunlap@...otime.net>

---
 drivers/pci/hotplug/pciehp.h     |    5 +++++
 drivers/pci/hotplug/pciehp_hpc.c |    4 ----
 2 files changed, 5 insertions(+), 4 deletions(-)

--- 2.6-git.orig/drivers/pci/hotplug/pciehp.h
+++ 2.6-git/drivers/pci/hotplug/pciehp.h
@@ -279,6 +279,11 @@ struct hpc_ops {
 
 
 #ifdef CONFIG_ACPI
+#include <acpi/acpi.h>
+#include <acpi/acpi_bus.h>
+#include <acpi/actypes.h>
+#include <linux/pci-acpi.h>
+
 #define pciehp_get_hp_hw_control_from_firmware(dev) \
 	pciehp_acpi_get_hp_hw_control_from_firmware(dev)
 static inline int pciehp_get_hp_params_from_firmware(struct pci_dev *dev,
--- 2.6-git.orig/drivers/pci/hotplug/pciehp_hpc.c
+++ 2.6-git/drivers/pci/hotplug/pciehp_hpc.c
@@ -38,10 +38,6 @@
 
 #include "../pci.h"
 #include "pciehp.h"
-#include <acpi/acpi.h>
-#include <acpi/acpi_bus.h>
-#include <acpi/actypes.h>
-#include <linux/pci-acpi.h>
 #ifdef DEBUG
 #define DBG_K_TRACE_ENTRY      ((unsigned int)0x00000001)	/* On function entry */
 #define DBG_K_TRACE_EXIT       ((unsigned int)0x00000002)	/* On function exit */
-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ