diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2026-03-26 17:09:59 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2026-05-27 13:43:40 +0000 |
| commit | 860aaecf1bb659d8cc6023aaa2d27273823faa75 (patch) | |
| tree | be694b78f526933562db5b117632cb4c4bf74f16 | |
| parent | d01e5afbbf9bc879e570f59dddc147c0efa8b990 (diff) | |
amd64: Don't set an initial FPU state save size
This used to be needed to initialize the pcb pointer when the pcb was
allocated on the kstack.
Reviewed by: kib
Sponsored by: AFRL, DARPA
Pull Request: https://ron-dev.freebsd.org/FreeBSD/src/pulls/23
| -rw-r--r-- | sys/amd64/amd64/machdep.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index e338db372df3..20c4be7880ff 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1521,7 +1521,6 @@ hammer_time(u_int64_t modulep, u_int64_t physfree) * We initialize the PCB pointer early so that exception * handlers will work. */ - cpu_max_ext_state_size = sizeof(struct savefpu); set_top_of_stack_td(&thread0); thread0.td_pcb = get_pcb_td(&thread0); |
