diff options
author | Bob Moore <robert.moore@intel.com> | 2008-11-12 20:45:35 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-12-29 22:38:37 -0500 |
commit | a8fadc923d1659f1a322194d420808d5b255883c (patch) | |
tree | b8afd36cc4217400efb0e71c550c69bfc8822352 /drivers/acpi/utilities/uteval.c | |
parent | 9f15fc666ef54afc7aff31dfa31edecf00e0d81a (diff) |
ACPICA: Add support to externally execute _OSI method
The current implemenation of _OSI within ACPICA only allows other
control methods to execute _OSI. This change allows the host
OS to execute _OSI via the AcpiEvaluateObject interface. _OSI
is a special method -- it does not exist in the AML code, it is
implemented within ACPICA.
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/utilities/uteval.c')
-rw-r--r-- | drivers/acpi/utilities/uteval.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/utilities/uteval.c b/drivers/acpi/utilities/uteval.c index 352747e49c7a..df2b511b595a 100644 --- a/drivers/acpi/utilities/uteval.c +++ b/drivers/acpi/utilities/uteval.c | |||
@@ -129,7 +129,7 @@ acpi_status acpi_ut_osi_implementation(struct acpi_walk_state *walk_state) | |||
129 | 129 | ||
130 | /* The interface is supported */ | 130 | /* The interface is supported */ |
131 | 131 | ||
132 | return_ACPI_STATUS(AE_CTRL_TERMINATE); | 132 | return_ACPI_STATUS(AE_OK); |
133 | } | 133 | } |
134 | } | 134 | } |
135 | 135 | ||
@@ -143,13 +143,13 @@ acpi_status acpi_ut_osi_implementation(struct acpi_walk_state *walk_state) | |||
143 | 143 | ||
144 | /* The interface is supported */ | 144 | /* The interface is supported */ |
145 | 145 | ||
146 | return_ACPI_STATUS(AE_CTRL_TERMINATE); | 146 | return_ACPI_STATUS(AE_OK); |
147 | } | 147 | } |
148 | 148 | ||
149 | /* The interface is not supported */ | 149 | /* The interface is not supported */ |
150 | 150 | ||
151 | return_desc->integer.value = 0; | 151 | return_desc->integer.value = 0; |
152 | return_ACPI_STATUS(AE_CTRL_TERMINATE); | 152 | return_ACPI_STATUS(AE_OK); |
153 | } | 153 | } |
154 | 154 | ||
155 | /******************************************************************************* | 155 | /******************************************************************************* |