|
@@ -105,21 +105,21 @@ struct fp_data {
|
|
#ifdef FPU_EMU_DEBUG
|
|
#ifdef FPU_EMU_DEBUG
|
|
extern unsigned int fp_debugprint;
|
|
extern unsigned int fp_debugprint;
|
|
|
|
|
|
-#define dprint(bit, fmt, args...) ({ \
|
|
|
|
|
|
+#define dprint(bit, fmt, ...) ({ \
|
|
if (fp_debugprint & (1 << (bit))) \
|
|
if (fp_debugprint & (1 << (bit))) \
|
|
- printk(fmt, ## args); \
|
|
|
|
|
|
+ pr_info(fmt, ##__VA_ARGS__); \
|
|
})
|
|
})
|
|
#else
|
|
#else
|
|
-#define dprint(bit, fmt, args...)
|
|
|
|
|
|
+#define dprint(bit, fmt, ...) no_printk(fmt, ##__VA_ARGS__)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#define uprint(str) ({ \
|
|
#define uprint(str) ({ \
|
|
static int __count = 3; \
|
|
static int __count = 3; \
|
|
\
|
|
\
|
|
if (__count > 0) { \
|
|
if (__count > 0) { \
|
|
- printk("You just hit an unimplemented " \
|
|
|
|
|
|
+ pr_err("You just hit an unimplemented " \
|
|
"fpu instruction (%s)\n", str); \
|
|
"fpu instruction (%s)\n", str); \
|
|
- printk("Please report this to ....\n"); \
|
|
|
|
|
|
+ pr_err("Please report this to ....\n"); \
|
|
__count--; \
|
|
__count--; \
|
|
} \
|
|
} \
|
|
})
|
|
})
|