diff options
author | kib <kib@FreeBSD.org> | 2013-08-31 19:13:21 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-08-31 19:13:21 +0000 |
commit | 2dccc06e8ea8317ec73c70e6062b6efb70dbbbc5 (patch) | |
tree | 9051331c5535600fe6631125d00e106d637106d4 /sys/amd64/amd64/apic_vector.S | |
parent | 8190b13763a31142281bab812b8c0f3cb6eafa21 (diff) | |
download | FreeBSD-src-2dccc06e8ea8317ec73c70e6062b6efb70dbbbc5.zip FreeBSD-src-2dccc06e8ea8317ec73c70e6062b6efb70dbbbc5.tar.gz |
Fix two build failures for non-tb configurations, UP [2] and when using gas [1].
Reported by: andreast [1], bf [2]
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/amd64/amd64/apic_vector.S')
-rw-r--r-- | sys/amd64/amd64/apic_vector.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/amd64/amd64/apic_vector.S b/sys/amd64/amd64/apic_vector.S index e868cf5..79ec5ed 100644 --- a/sys/amd64/amd64/apic_vector.S +++ b/sys/amd64/amd64/apic_vector.S @@ -160,11 +160,11 @@ IDTVEC(xen_intr_upcall) SUPERALIGN_TEXT global_invltlb: - movl %cr4,%eax - andl $~0x80,%eax - movl %eax,%cr4 - orl $0x80,%eax - movl %eax,%cr4 + movq %cr4,%rax + andq $~0x80,%rax /* PGE */ + movq %rax,%cr4 + orq $0x80,%rax + movq %rax,%cr4 invltlb_ret_clear_pm_save: movq smp_tlb_pmap,%rdx testq %rdx,%rdx |