summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-11-19 06:59:53 +0000
committerpeter <peter@FreeBSD.org>2001-11-19 06:59:53 +0000
commit536bf9b42bcef8da5af14ab7cadcd5902db77a24 (patch)
treea34f9fad63a7bc6e4dbcb75727fdcf0cf90a3c59 /sys/boot
parent58087902a2885887ba005a3ec89b587e2ea5d4b8 (diff)
downloadFreeBSD-src-536bf9b42bcef8da5af14ab7cadcd5902db77a24.zip
FreeBSD-src-536bf9b42bcef8da5af14ab7cadcd5902db77a24.tar.gz
Fix a dependency violation, same as in libefi/elf_freebsd.c a while back.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/ia64/libski/elf_freebsd.c1
-rw-r--r--sys/boot/ia64/ski/elf_freebsd.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/ia64/libski/elf_freebsd.c b/sys/boot/ia64/libski/elf_freebsd.c
index a01c8cc..ac8c886 100644
--- a/sys/boot/ia64/libski/elf_freebsd.c
+++ b/sys/boot/ia64/libski/elf_freebsd.c
@@ -191,6 +191,7 @@ elf_exec(struct preloaded_file *fp)
__asm __volatile("srlz.i;;");
__asm __volatile("itr.i itr[%0]=%1;;"
:: "r"(0), "r"(*(u_int64_t*)&pte));
+ __asm __volatile("srlz.i;;");
__asm __volatile("itr.d dtr[%0]=%1;;"
:: "r"(0), "r"(*(u_int64_t*)&pte));
__asm __volatile("srlz.i;;");
diff --git a/sys/boot/ia64/ski/elf_freebsd.c b/sys/boot/ia64/ski/elf_freebsd.c
index a01c8cc..ac8c886 100644
--- a/sys/boot/ia64/ski/elf_freebsd.c
+++ b/sys/boot/ia64/ski/elf_freebsd.c
@@ -191,6 +191,7 @@ elf_exec(struct preloaded_file *fp)
__asm __volatile("srlz.i;;");
__asm __volatile("itr.i itr[%0]=%1;;"
:: "r"(0), "r"(*(u_int64_t*)&pte));
+ __asm __volatile("srlz.i;;");
__asm __volatile("itr.d dtr[%0]=%1;;"
:: "r"(0), "r"(*(u_int64_t*)&pte));
__asm __volatile("srlz.i;;");
OpenPOWER on IntegriCloud