Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac130ac4 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

Fix build with CONFIG_PRINTK disabled.

parent e50c0a8f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -107,6 +107,7 @@ symbol = value
/*
 * Print formatted string
 */
#ifdef CONFIG_PRINTK
#define PRINT(string)                                   \
		.set	push;				\
		.set	reorder;                        \
@@ -114,6 +115,9 @@ symbol = value
		jal	printk;                         \
		.set	pop;				\
		TEXT(string)
#else
#define PRINT(string)
#endif

#define	TEXT(msg)                                       \
		.pushsection .data;			\