source: trunk/target/linux/cns21xx/patches-3.3/002-arm-debugll-printk.patch @ 31379

Last change on this file since 31379 was 31379, checked in by juhosg, 4 years ago

cns21xx: add support for 3.3

File size: 480 bytes
  • kernel/printk.c

    a b  
    4444 
    4545#include <asm/uaccess.h> 
    4646 
     47#ifdef CONFIG_DEBUG_LL 
     48extern void printascii(char *); 
     49#endif /* CONFIG_DEBUG_LL */ 
     50 
    4751/* 
    4852 * Architectures can override it: 
    4953 */ 
    asmlinkage int vprintk(const char *fmt, 
    900904                } 
    901905        } 
    902906 
     907#ifdef CONFIG_DEBUG_LL 
     908        printascii(printk_buf); 
     909#endif 
     910 
    903911        /* 
    904912         * Copy the output into log_buf. If the caller didn't provide 
    905913         * the appropriate log prefix, we insert them here 
Note: See TracBrowser for help on using the repository browser.