diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-29 17:49:12 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-29 17:49:12 -0400 |
| commit | b0c4e148bd591629749d02a8fbc8d81c26d548cf (patch) | |
| tree | 3e2142635f3dc2ceeae870ead2dceab7b9c6def1 /include/asm-mips/asm.h | |
| parent | 5615ca7906aefbdc3318604c89db5931d0a25910 (diff) | |
| parent | be15cd72d256e5eb3261a781b8507fac83ab33f6 (diff) | |
Merge branch 'master'
Diffstat (limited to 'include/asm-mips/asm.h')
| -rw-r--r-- | include/asm-mips/asm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-mips/asm.h b/include/asm-mips/asm.h index f53237772985..4b090f3142e0 100644 --- a/include/asm-mips/asm.h +++ b/include/asm-mips/asm.h | |||
| @@ -107,6 +107,7 @@ symbol = value | |||
| 107 | /* | 107 | /* |
| 108 | * Print formatted string | 108 | * Print formatted string |
| 109 | */ | 109 | */ |
| 110 | #ifdef CONFIG_PRINTK | ||
| 110 | #define PRINT(string) \ | 111 | #define PRINT(string) \ |
| 111 | .set push; \ | 112 | .set push; \ |
| 112 | .set reorder; \ | 113 | .set reorder; \ |
| @@ -114,6 +115,9 @@ symbol = value | |||
| 114 | jal printk; \ | 115 | jal printk; \ |
| 115 | .set pop; \ | 116 | .set pop; \ |
| 116 | TEXT(string) | 117 | TEXT(string) |
| 118 | #else | ||
| 119 | #define PRINT(string) | ||
| 120 | #endif | ||
| 117 | 121 | ||
| 118 | #define TEXT(msg) \ | 122 | #define TEXT(msg) \ |
| 119 | .pushsection .data; \ | 123 | .pushsection .data; \ |
