···110110 port->icount.rx++;111111112112 rxs = *CSR_RXSTAT | RXSTAT_DUMMY_READ;113113- if (rxs & RXSTAT_ANYERR) {113113+ if (unlikely(rxs & RXSTAT_ANYERR)) {114114 if (rxs & RXSTAT_PARITY)115115 port->icount.parity++;116116 else if (rxs & RXSTAT_FRAME)
+1-1
drivers/serial/amba-pl010.c
···172172 * out of the main execution path173173 */174174 rsr = UART_GET_RSR(port) | UART_DUMMY_RSR_RX;175175- if (rsr & UART01x_RSR_ANY) {175175+ if (unlikely(rsr & UART01x_RSR_ANY)) {176176 if (rsr & UART01x_RSR_BE) {177177 rsr &= ~(UART01x_RSR_FE | UART01x_RSR_PE);178178 port->icount.brk++;
+1-1
drivers/serial/amba-pl011.c
···137137 * out of the main execution path138138 */139139 rsr = readw(uap->port.membase + UART01x_RSR) | UART_DUMMY_RSR_RX;140140- if (rsr & UART01x_RSR_ANY) {140140+ if (unlikely(rsr & UART01x_RSR_ANY)) {141141 if (rsr & UART01x_RSR_BE) {142142 rsr &= ~(UART01x_RSR_FE | UART01x_RSR_PE);143143 uap->port.icount.brk++;
+1-1
drivers/serial/clps711x.c
···116116 * Note that the error handling code is117117 * out of the main execution path118118 */119119- if (ch & UART_ANY_ERR)119119+ if (unlikely(ch & UART_ANY_ERR))120120 goto handle_error;121121122122 if (uart_handle_sysrq_char(port, ch, regs))
+1-1
drivers/serial/s3c2410.c
···364364 flag = TTY_NORMAL;365365 port->icount.rx++;366366367367- if (uerstat & S3C2410_UERSTAT_ANY) {367367+ if (unlikely(uerstat & S3C2410_UERSTAT_ANY)) {368368 dbg("rxerr: port ch=0x%02x, rxs=0x%08x\n",369369 ch, uerstat);370370
+1-1
drivers/serial/serial_lh7a40x.c
···162162 flag = TTY_NORMAL;163163 ++port->icount.rx;164164165165- if (data & RxError) { /* Quick check, short-circuit */165165+ if (unlikely(data & RxError)) { /* Quick check, short-circuit */166166 if (data & RxBreak) {167167 data &= ~(RxFramingError | RxParityError);168168 ++port->icount.brk;