summaryrefslogtreecommitdiff
path: root/source/components/hardware/hwxfsleep.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-08-25 19:41:12 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-08-25 19:41:12 +0000
commitc25a97c7b4f09b4c9efa992434d341f5b89629ff (patch)
tree2fa9d2167f719968f73daa4ec16528a068d308ad /source/components/hardware/hwxfsleep.c
parent136eac2a0638d3c751b1987603f71a9ae26879fd (diff)
Notes
Diffstat (limited to 'source/components/hardware/hwxfsleep.c')
-rw-r--r--source/components/hardware/hwxfsleep.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/source/components/hardware/hwxfsleep.c b/source/components/hardware/hwxfsleep.c
index 1642aa3e0d0d..892c4a092d23 100644
--- a/source/components/hardware/hwxfsleep.c
+++ b/source/components/hardware/hwxfsleep.c
@@ -169,21 +169,9 @@ AcpiSetFirmwareWakingVector (
ACPI_FUNCTION_TRACE (AcpiSetFirmwareWakingVector);
- /* If Hardware Reduced flag is set, there is no FACS */
-
- if (AcpiGbl_ReducedHardware)
- {
- return_ACPI_STATUS (AE_OK);
- }
-
- if (AcpiGbl_Facs32)
- {
- (void) AcpiHwSetFirmwareWakingVector (AcpiGbl_Facs32,
- PhysicalAddress, PhysicalAddress64);
- }
- if (AcpiGbl_Facs64)
+ if (AcpiGbl_FACS)
{
- (void) AcpiHwSetFirmwareWakingVector (AcpiGbl_Facs64,
+ (void) AcpiHwSetFirmwareWakingVector (AcpiGbl_FACS,
PhysicalAddress, PhysicalAddress64);
}