ACPI: fix allowing to add/remove multiple _OSI strings
authorLin Ming <ming.m.lin@intel.com>
Thu, 9 Dec 2010 08:51:06 +0000 (16:51 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 11 Dec 2010 06:31:01 +0000 (01:31 -0500)
commit12d3206466d2074ef0684aaf7759ae01a0a92560
treef653b9a36f2d6ec122aa85035cd5a0ae96314ce4
parentd90aa92c0c1625d7f02050e4d2924805840cda3d
ACPI: fix allowing to add/remove multiple _OSI strings

commit b0ed7a91(ACPICA/ACPI: Add new host interfaces for _OSI suppor)
introduced another regression that only one _OSI string can be added or
removed.

Now multiple _OSI strings can be added or removed, for example

acpi_osi=Linux acpi_osi=FreeBSD acpi_osi="!Windows 2006"

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/osl.c