mirror of
https://git.FreeBSD.org/src.git
synced 2026-06-02 11:24:32 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user