aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/math-emu/fpu_emu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/math-emu/fpu_emu.h')
-rw-r--r--arch/x86/math-emu/fpu_emu.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/math-emu/fpu_emu.h b/arch/x86/math-emu/fpu_emu.h
index 656dd4c04b1b..4dae511c85ad 100644
--- a/arch/x86/math-emu/fpu_emu.h
+++ b/arch/x86/math-emu/fpu_emu.h
@@ -122,7 +122,7 @@ struct fpu__reg {
122 122
123typedef void (*FUNC) (void); 123typedef void (*FUNC) (void);
124typedef struct fpu__reg FPU_REG; 124typedef struct fpu__reg FPU_REG;
125typedef void (*FUNC_ST0) (FPU_REG * st0_ptr, u_char st0_tag); 125typedef void (*FUNC_ST0) (FPU_REG *st0_ptr, u_char st0_tag);
126typedef struct { 126typedef struct {
127 u_char address_size, operand_size, segment; 127 u_char address_size, operand_size, segment;
128} overrides; 128} overrides;
@@ -166,7 +166,7 @@ extern u_char const data_sizes_16[32];
166#define signpositive(a) ( (signbyte(a) & 0x80) == 0 ) 166#define signpositive(a) ( (signbyte(a) & 0x80) == 0 )
167#define signnegative(a) (signbyte(a) & 0x80) 167#define signnegative(a) (signbyte(a) & 0x80)
168 168
169static inline void reg_copy(FPU_REG const *x, FPU_REG * y) 169static inline void reg_copy(FPU_REG const *x, FPU_REG *y)
170{ 170{
171 *(short *)&(y->exp) = *(const short *)&(x->exp); 171 *(short *)&(y->exp) = *(const short *)&(x->exp);
172 *(long long *)&(y->sigl) = *(const long long *)&(x->sigl); 172 *(long long *)&(y->sigl) = *(const long long *)&(x->sigl);
@@ -187,8 +187,8 @@ static inline void reg_copy(FPU_REG const *x, FPU_REG * y)
187/*----- Prototypes for functions written in assembler -----*/ 187/*----- Prototypes for functions written in assembler -----*/
188/* extern void reg_move(FPU_REG *a, FPU_REG *b); */ 188/* extern void reg_move(FPU_REG *a, FPU_REG *b); */
189 189
190asmlinkage int FPU_normalize(FPU_REG * x); 190asmlinkage int FPU_normalize(FPU_REG *x);
191asmlinkage int FPU_normalize_nuo(FPU_REG * x); 191asmlinkage int FPU_normalize_nuo(FPU_REG *x);
192asmlinkage int FPU_u_sub(FPU_REG const *arg1, FPU_REG const *arg2, 192asmlinkage int FPU_u_sub(FPU_REG const *arg1, FPU_REG const *arg2,
193 FPU_REG * answ, unsigned int control_w, u_char sign, 193 FPU_REG * answ, unsigned int control_w, u_char sign,
194 int expa, int expb); 194 int expa, int expb);
@@ -200,12 +200,12 @@ asmlinkage int FPU_u_div(FPU_REG const *arg1, FPU_REG const *arg2,
200asmlinkage int FPU_u_add(FPU_REG const *arg1, FPU_REG const *arg2, 200asmlinkage int FPU_u_add(FPU_REG const *arg1, FPU_REG const *arg2,
201 FPU_REG * answ, unsigned int control_w, u_char sign, 201 FPU_REG * answ, unsigned int control_w, u_char sign,
202 int expa, int expb); 202 int expa, int expb);
203asmlinkage int wm_sqrt(FPU_REG * n, int dummy1, int dummy2, 203asmlinkage int wm_sqrt(FPU_REG *n, int dummy1, int dummy2,
204 unsigned int control_w, u_char sign); 204 unsigned int control_w, u_char sign);
205asmlinkage unsigned FPU_shrx(void *l, unsigned x); 205asmlinkage unsigned FPU_shrx(void *l, unsigned x);
206asmlinkage unsigned FPU_shrxs(void *v, unsigned x); 206asmlinkage unsigned FPU_shrxs(void *v, unsigned x);
207asmlinkage unsigned long FPU_div_small(unsigned long long *x, unsigned long y); 207asmlinkage unsigned long FPU_div_small(unsigned long long *x, unsigned long y);
208asmlinkage int FPU_round(FPU_REG * arg, unsigned int extent, int dummy, 208asmlinkage int FPU_round(FPU_REG *arg, unsigned int extent, int dummy,
209 unsigned int control_w, u_char sign); 209 unsigned int control_w, u_char sign);
210 210
211#ifndef MAKING_PROTO 211#ifndef MAKING_PROTO