Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=aa2e09da2a332e748532aa2a71b090e7e7c3203d
Commit:     aa2e09da2a332e748532aa2a71b090e7e7c3203d
Parent:     52c4d73a6cca0db2927b60935e57429f98eae7c1
Author:     Len Brown <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 2 23:57:45 2007 -0400
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Jul 2 21:06:48 2007 -0700

    ACPI: fix acpi_osi=!Linux
    
    Need to check for special case "acpi_osi=!Linux" before handling the
    general case "acpi_osi=!*", or it will have no effect.
    
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/acpi/osl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 58ceb18..2e7ba61 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -999,11 +999,11 @@ static int __init acpi_osi_setup(char *str)
        if (str == NULL || *str == '\0') {
                printk(KERN_INFO PREFIX "_OSI method disabled\n");
                acpi_gbl_create_osi_method = FALSE;
+       } else if (!strcmp("!Linux", str)) {
+               enable_osi_linux(0);
        } else if (*str == '!') {
                if (acpi_osi_invalidate(++str) == AE_OK)
                        printk(KERN_INFO PREFIX "Deleted _OSI(%s)\n", str);
-       } else if (!strcmp("!Linux", str)) {
-               enable_osi_linux(0);
        } else if (!strcmp("Linux", str)) {
                enable_osi_linux(1);
        } else if (*osi_additional_string == '\0') {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to