1 Index: lk/drivers/dsp/bridge/gen/_gt_para.c
2 ===================================================================
3 --- lk.orig/drivers/dsp/bridge/gen/_gt_para.c 2008-08-18 10:38:36.000000000 +0300
4 +++ lk/drivers/dsp/bridge/gen/_gt_para.c 2008-08-18 10:38:39.000000000 +0300
9 - (*GT->PRINTFXN) ("ERROR: ");
10 - (*GT->PRINTFXN) (fmt, arg1, arg2, arg3, arg4, arg5, arg6);
12 + printk(fmt, arg1, arg2, arg3, arg4, arg5, arg6);
14 #if (defined DEBUG) || (defined DDSP_DEBUG_PRODUCT)
16 Index: lk/drivers/dsp/bridge/gen/gt.c
17 ===================================================================
18 --- lk.orig/drivers/dsp/bridge/gen/gt.c 2008-08-18 10:38:36.000000000 +0300
19 +++ lk/drivers/dsp/bridge/gen/gt.c 2008-08-18 10:38:39.000000000 +0300
23 if (GT->PIDFXN == NULL) {
24 - (*GT->PRINTFXN)(GT_1format, mask->modName, GT->TIDFXN ?
25 + printk(GT_1format, mask->modName, GT->TIDFXN ?
28 - (*GT->PRINTFXN)(GT_2format, mask->modName, (*GT->PIDFXN)(),
29 + printk(GT_2format, mask->modName, (*GT->PIDFXN)(),
30 GT->TIDFXN ? (*GT->TIDFXN)() : 0);
33 - (*GT->PRINTFXN)(format, arg1, arg2, arg3, arg4, arg5, arg6);
34 + printk(format, arg1, arg2, arg3, arg4, arg5, arg6);
40 static void error(char *string)
42 - (*GT->PRINTFXN)("GT: %s", string);
43 + printk("GT: %s", string);
47 Index: lk/arch/arm/plat-omap/include/bridge/dbc.h
48 ===================================================================
49 --- lk.orig/arch/arm/plat-omap/include/bridge/dbc.h 2008-08-18 10:38:34.000000000 +0300
50 +++ lk/arch/arm/plat-omap/include/bridge/dbc.h 2008-08-18 10:38:39.000000000 +0300
53 #define DBC_Assert(exp) \
55 - (*GT->ERRORFXN)("%s, line %d: Assertion (" #exp ") failed.\n", \
56 + printk("%s, line %d: Assertion (" #exp ") failed.\n", \
58 #define DBC_Require DBC_Assert /* Function Precondition. */
59 #define DBC_Ensure DBC_Assert /* Function Postcondition. */
60 Index: lk/arch/arm/plat-omap/include/bridge/gt.h
61 ===================================================================
62 --- lk.orig/arch/arm/plat-omap/include/bridge/gt.h 2008-08-18 10:38:34.000000000 +0300
63 +++ lk/arch/arm/plat-omap/include/bridge/gt.h 2008-08-18 10:38:39.000000000 +0300
66 #define GT_assert(mask, expr) \
68 - (*GT->ERRORFXN)("assertion violation: %s, line %d\n", \
69 + printk("assertion violation: %s, line %d\n", \
70 __FILE__, __LINE__), NULL : NULL)
72 #define GT_config(config) (_GT_params = *(config))
73 Index: lk/drivers/dsp/bridge/services/dbg.c
74 ===================================================================
75 --- lk.orig/drivers/dsp/bridge/services/dbg.c 2008-08-18 10:38:37.000000000 +0300
76 +++ lk/drivers/dsp/bridge/services/dbg.c 2008-08-18 10:38:39.000000000 +0300
80 if (bLevel & *(DBG_debugMask).flags)
81 - (*GT->PRINTFXN)(pstrFormat, arg1, arg2, arg3, arg4, arg5, arg6);
82 + printk(pstrFormat, arg1, arg2, arg3, arg4, arg5, arg6);