From: Alex Williamson <alex.williamson@hp.com>
To: linux-ia64@vger.kernel.org,
acpi-devel <acpi-devel@lists.sourceforge.net>
Subject: [PATCH] restore _OS object to "Linux" for ia64
Date: Mon, 13 Sep 2004 12:27:48 -0600 [thread overview]
Message-ID: <1095100068.20631.30.camel@tdi> (raw)
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
*/
next reply other threads:[~2004-09-13 18:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-13 18:27 Alex Williamson [this message]
2004-09-13 19:22 ` [PATCH] restore _OS object to "Linux" for ia64 Len Brown
2004-09-13 19:42 ` [ACPI] " Alex Williamson
-- strict thread matches above, loose matches on Subject: below --
2004-09-13 22:11 Moore, Robert
2004-09-13 22:59 Moore, Robert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1095100068.20631.30.camel@tdi \
--to=alex.williamson@hp.com \
--cc=acpi-devel@lists.sourceforge.net \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox