/* Yenta (at least) probes interrupts before registering the socket and starting the handler thread.  */
void pcmcia_parse_events(struct pcmcia_socket *s, u_int events)
/* Yenta (at least) probes interrupts before registering the socket and starting the handler thread.  */
void pcmcia_parse_events(struct pcmcia_socket *s, u_int events)
{
	unsigned long flags;
	dev_dbg(&s->dev, "parse_events: events %08x\n", events);
	if (s->thread) {
		spin_lock_irqsave(&s->thread_lock, flags);
		s->thread_events |= events;
		spin_unlock_irqrestore(&s->thread_lock, flags);
		wake_up_process(s->thread);
	}
}