diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2016-04-21 22:08:28 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2016-04-21 22:08:28 +0000 |
commit | 794e1e55bf4039a842305ac3bc9468ba66141874 (patch) | |
tree | 1cb3fb521754efd1cc703c9ac3a449d5017f5562 /sys/arch/amd64 | |
parent | f28b0db0e9e07233b6d984dee4b2a5b5cc3b6e36 (diff) |
KNF
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/fpu.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/arch/amd64/amd64/fpu.c b/sys/arch/amd64/amd64/fpu.c index 6352cfd253c..f6ef256421c 100644 --- a/sys/arch/amd64/amd64/fpu.c +++ b/sys/arch/amd64/amd64/fpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpu.c,v 1.32 2015/03/25 21:05:18 kettenis Exp $ */ +/* $OpenBSD: fpu.c,v 1.33 2016/04/21 22:08:27 mlarkin Exp $ */ /* $NetBSD: fpu.c,v 1.1 2003/04/26 18:39:28 fvdl Exp $ */ /*- @@ -152,7 +152,6 @@ fpuinit(struct cpu_info *ci) * Reinitializing the state allows naive SIGFPE handlers to longjmp without * doing any fixups. */ - void fputrap(struct trapframe *frame) { @@ -319,11 +318,11 @@ fpusave_cpu(struct cpu_info *ci, int save) if (ci->ci_fpsaving != 0) panic("fpusave_cpu: recursive save!"); #endif - /* - * Set ci->ci_fpsaving, so that any pending exception will be - * thrown away. (It will be caught again if/when the FPU - * state is restored.) - */ + /* + * Set ci->ci_fpsaving, so that any pending exception will be + * thrown away. (It will be caught again if/when the FPU + * state is restored.) + */ clts(); ci->ci_fpsaving = 1; if (xsave_mask) |