patch-2.4.14 linux/drivers/acpi/os.c

Next file: linux/drivers/acpi/ospm/ac_adapter/ac.c
Previous file: linux/drivers/acpi/namespace/nsxfobj.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/drivers/acpi/os.c linux/drivers/acpi/os.c
@@ -1,7 +1,7 @@
 /******************************************************************************
  * 
  * Module Name: os.c - Linux OSL functions
- *		$Revision: 46 $
+ *		$Revision: 49 $
  *
  *****************************************************************************/
 
@@ -40,7 +40,6 @@
 #include <linux/delay.h>
 #include <asm/io.h>
 #include <acpi.h>
-#include "driver.h"
 
 #ifdef CONFIG_ACPI_EFI
 #include <asm/efi.h>
@@ -191,14 +190,7 @@
 	}
 
 	if ((unsigned long) phys < virt_to_phys(high_memory)) {
-		struct page *page;
 		*virt = phys_to_virt((unsigned long) phys);
-	
-		/* Check for stamping */
-		page = virt_to_page(*virt);
-		if(page && !test_bit(PG_reserved, &page->flags))
-			printk(KERN_WARNING "ACPI attempting to access kernel owned memory at %08lX.\n", (unsigned long)phys);
-
 		return AE_OK;
 	}
 
@@ -322,7 +314,7 @@
 acpi_status
 acpi_os_write_port(
 	ACPI_IO_ADDRESS	port,
-	u32		value,
+	NATIVE_UINT	value,
 	u32		width)
 {
 	switch (width)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)