Beispiel #1
0
int pdc_console_poll_key(struct console *co)
{
	int c;
	unsigned long flags;

	spin_lock_irqsave(&pdc_console_lock, flags);
	c = pdc_iodc_getc();
	spin_unlock_irqrestore(&pdc_console_lock, flags);

	return c;
}
Beispiel #2
0
int pdc_console_poll_key(struct console *co)
{
	return pdc_iodc_getc();
}