public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] restore _OS object to "Linux" for ia64
@ 2004-09-13 18:27 Alex Williamson
  2004-09-13 19:22 ` [ACPI] " Len Brown
  0 siblings, 1 reply; 11+ messages in thread
From: Alex Williamson @ 2004-09-13 18:27 UTC (permalink / raw)
  To: linux-ia64, acpi-devel


   A recent change to ACPI made the _OS object falsely report the OS as
"Microsoft Windows NT".  This seems like a slippery slope, and I'd
rather not go down it for ia64.  I think all of the ia64 OEMs are
involved enough with Linux that this isn't necessary and the change
limits the options should ACPI firmware need to make an OS specific work
around.  The patch below will make all ia64 boxes report a default _OS
of "Linux".  Thanks,

	Alex

-- 
Signed-off-by: Alex Williamson <alex.williamson@hp.com>

=== arch/ia64/kernel/acpi.c 1.74 vs edited ==--- 1.74/arch/ia64/kernel/acpi.c	Thu Aug  5 22:40:29 2004
+++ edited/arch/ia64/kernel/acpi.c	Mon Sep 13 09:32:46 2004
@@ -629,6 +629,13 @@
 #endif
 	/* Make boot-up look pretty */
 	printk(KERN_INFO "%d CPUs available, %d CPUs total\n", available_cpus, total_cpus);
+
+	/*
+	 * Make the _OS object report the right name, ia64 Linux has
+	 * enough OEM support that we shouldn't need to fake another OS.
+	 */
+	acpi_os_name_setup("Linux");
+
 	return 0;
 }
 
=== include/acpi/acpiosxf.h 1.34 vs edited ==--- 1.34/include/acpi/acpiosxf.h	Fri Jul 16 23:37:53 2004
+++ edited/include/acpi/acpiosxf.h	Mon Sep 13 09:38:55 2004
@@ -313,6 +313,10 @@
 	u32                             function,
 	void                            *info);
 
+int __init
+acpi_os_name_setup (
+	char				*str);
+
 /*
  * Debug print routines
  */



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-09-17 17:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-13 18:27 [PATCH] restore _OS object to "Linux" for ia64 Alex Williamson
2004-09-13 19:22 ` [ACPI] " Len Brown
2004-09-13 19:37   ` Moore, Robert
2004-09-13 21:30     ` Gerald Pfeifer
2004-09-13 22:19       ` Nate Lawson
2004-09-13 19:42   ` Alex Williamson
2004-09-13 22:11   ` Moore, Robert
2004-09-13 22:59   ` Moore, Robert
2004-09-14  4:27     ` Alex Williamson
2004-09-14 15:00   ` Moore, Robert
2004-09-17 17:18   ` Moore, Robert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox