summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2017-12-31 09:22:07 +0000
committerColin Percival <cperciva@FreeBSD.org>2017-12-31 09:22:07 +0000
commit31a55efdc554009ff8ca71374e381660725b0d4b (patch)
treeb765a8be076900f882fa4530e61efce956d18aa4
parentae3d6bfa200d7431e4d3be8f0b2b647c0551b12c (diff)
downloadsrc-test2-31a55efdc554009ff8ca71374e381660725b0d4b.tar.gz
src-test2-31a55efdc554009ff8ca71374e381660725b0d4b.zip
Notes
-rw-r--r--sys/amd64/amd64/machdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index c9a41d738f78..ac96bd0e4c4b 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -1525,6 +1525,8 @@ hammer_time(u_int64_t modulep, u_int64_t physfree)
size_t kstack0_sz;
int late_console;
+ TSRAW(&thread0, TS_ENTER, __func__, NULL);
+
/*
* This may be done better later if it gets more high level
* components in it. If so just link td->td_proc here.
@@ -1774,6 +1776,8 @@ hammer_time(u_int64_t modulep, u_int64_t physfree)
#endif
thread0.td_critnest = 0;
+ TSEXIT();
+
/* Location of kernel stack for locore */
return ((u_int64_t)thread0.td_pcb);
}