Redo previous so as to not break non-arm MKDTRACE=yes builds.
This commit is contained in:
parent
41784a61b4
commit
f2d2d6c3e9
|
@ -301,6 +301,9 @@ pfprint_fp(dtrace_hdl_t *dtp, FILE *fp, const char *format,
|
|||
const dt_pfargd_t *pfd, const void *addr, size_t size, uint64_t normal)
|
||||
{
|
||||
double n = (double)normal;
|
||||
#if !defined(__arm__) && !defined(__powerpc__) && !defined(__mips__)
|
||||
long double ldn = (long double)normal;
|
||||
#endif
|
||||
|
||||
switch (size) {
|
||||
case sizeof (float):
|
||||
|
@ -311,7 +314,6 @@ pfprint_fp(dtrace_hdl_t *dtp, FILE *fp, const char *format,
|
|||
*((double *)addr) / n));
|
||||
#if !defined(__arm__) && !defined(__powerpc__) && !defined(__mips__)
|
||||
case sizeof (long double):
|
||||
long double ldn = (long double)normal;
|
||||
return (dt_printf(dtp, fp, format,
|
||||
*((long double *)addr) / ldn));
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue