unmodified_drivers: handle IRQF_SAMPLE_RANDOM
authorOlaf Hering <olaf@aepfle.de>
Mon, 10 Sep 2012 08:54:13 +0000 (10:54 +0200)
committerOlaf Hering <olaf@aepfle.de>
Mon, 10 Sep 2012 08:54:13 +0000 (10:54 +0200)
commitaca51da7badfe63f0dc4848dc2a13d55c91f1b6f
treed743dbef5788958cc6acf8768668d2c130ccfffa
parentd32a40244c1f7084a0fa1970001874b9474bfc31
unmodified_drivers: handle IRQF_SAMPLE_RANDOM

The flag IRQF_SAMPLE_RANDOM was removed in 3.6-rc1. Add it only if it is
defined. An additional call to add_interrupt_randomness is appearently
not needed because its now called unconditionally in
handle_irq_event_percpu().

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Jan Beulich <jbeulich@suse.com>
unmodified_drivers/linux-2.6/platform-pci/evtchn.c