[MIPS] Compliment va_start() with va_end().
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
5b3af8f19f
commit
8142294dda
@ -108,6 +108,7 @@ int ieee754si_xcpt(int r, const char *op, ...)
|
||||
ax.rv.si = r;
|
||||
va_start(ax.ap, op);
|
||||
ieee754_xcpt(&ax);
|
||||
va_end(ax.ap);
|
||||
return ax.rv.si;
|
||||
}
|
||||
|
||||
@ -122,5 +123,6 @@ s64 ieee754di_xcpt(s64 r, const char *op, ...)
|
||||
ax.rv.di = r;
|
||||
va_start(ax.ap, op);
|
||||
ieee754_xcpt(&ax);
|
||||
va_end(ax.ap);
|
||||
return ax.rv.di;
|
||||
}
|
||||
|
Reference in New Issue
Block a user