diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2009-02-18 22:44:55 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2009-02-18 22:44:55 +0000 |
commit | ce66ebaba5649d6bb4600c639d38cecb0fe8f691 (patch) | |
tree | 30bd8d3c5dd5b88977d6677017b708628150eff8 /sys/i386 | |
parent | 0fb502363da4e75e8b1331d5d43a16187311e6e5 (diff) | |
download | FreeBSD-src-ce66ebaba5649d6bb4600c639d38cecb0fe8f691.zip FreeBSD-src-ce66ebaba5649d6bb4600c639d38cecb0fe8f691.tar.gz |
Mark these variables as __used too. Fix a style of previous commit.
Noticed by: Christoph Mallon
Approved by: kib (mentor)
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/acpica/acpi_wakeup.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/i386/acpica/acpi_wakeup.c b/sys/i386/acpica/acpi_wakeup.c index b75f2dd..e5047b5 100644 --- a/sys/i386/acpica/acpi_wakeup.c +++ b/sys/i386/acpica/acpi_wakeup.c @@ -63,14 +63,15 @@ extern uint32_t acpi_resume_beep; extern uint32_t acpi_reset_video; extern void initializecpu(void); -static struct region_descriptor saved_idt, saved_gdt, *p_gdt; -static uint16_t __used saved_ldt; +static struct region_descriptor __used saved_idt, saved_gdt; +static struct region_descriptor *p_gdt; +static uint16_t __used saved_ldt; -static uint32_t __used r_eax, r_ebx, r_ecx, r_edx, r_ebp, r_esi, r_edi, +static uint32_t __used r_eax, r_ebx, r_ecx, r_edx, r_ebp, r_esi, r_edi, r_efl, r_cr0, r_cr2, r_cr3, r_cr4, ret_addr; -static uint16_t __used r_cs, r_ds, r_es, r_fs, r_gs, r_ss, r_tr; -static uint32_t __used r_esp; +static uint16_t __used r_cs, r_ds, r_es, r_fs, r_gs, r_ss, r_tr; +static uint32_t __used r_esp; static void acpi_printcpu(void); static void acpi_realmodeinst(void *arg, bus_dma_segment_t *segs, |