aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/acpica/genwakecode.sh
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2009-03-23 22:35:30 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2009-03-23 22:35:30 +0000
commitd2b227cd4911d60018a01c8e8def38e4b8738ba4 (patch)
treef284ffd9edfdd71caca0193ffb187a3cc0ece60d /sys/amd64/acpica/genwakecode.sh
parent0755473ba23b34fedcd2d5a3ee6657319fc4e2e4 (diff)
downloadsrc-d2b227cd4911d60018a01c8e8def38e4b8738ba4.tar.gz
src-d2b227cd4911d60018a01c8e8def38e4b8738ba4.zip
- Clean up suspend/resume code for amd64.
- Call acpi_resync_clock() to reset system time before hardclock is ready to tick. Note we assume the current timecounter hardware and RTC are already available for read operation. Tested by: mav
Notes
Notes: svn path=/head/; revision=190341
Diffstat (limited to 'sys/amd64/acpica/genwakecode.sh')
-rwxr-xr-xsys/amd64/acpica/genwakecode.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/acpica/genwakecode.sh b/sys/amd64/acpica/genwakecode.sh
index b4853863ae7e..c9d0077de56a 100755
--- a/sys/amd64/acpica/genwakecode.sh
+++ b/sys/amd64/acpica/genwakecode.sh
@@ -1,6 +1,6 @@
#!/bin/sh
# $FreeBSD$
#
-file2c 'static char wakecode[] = {' '};' <acpi_wakecode.bin
+file2c -sx 'static char wakecode[] = {' '};' <acpi_wakecode.bin
exit 0