Changeset 516ff92 in mainline for kernel/arch/sparc64/src/drivers/sgcn.c
- Timestamp:
- 2009-01-31T21:27:18Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4863e50b
- Parents:
- 96a2e45
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/sgcn.c
r96a2e45 r516ff92 296 296 * written straight away. 297 297 */ 298 static void sgcn_putchar(struct chardev * cd, const char c) 299 { 300 spinlock_lock(&sgcn_output_lock); 301 302 sgcn_do_putchar(c); 303 if (c == '\n') { 304 sgcn_do_putchar('\r'); 298 static void sgcn_putchar(struct chardev * cd, const char c, bool silent) 299 { 300 if (!silent) { 301 spinlock_lock(&sgcn_output_lock); 302 303 sgcn_do_putchar(c); 304 if (c == '\n') 305 sgcn_do_putchar('\r'); 306 307 spinlock_unlock(&sgcn_output_lock); 305 308 } 306 307 spinlock_unlock(&sgcn_output_lock);308 309 } 309 310
Note:
See TracChangeset
for help on using the changeset viewer.