activate_mapping: All masks are valid when no affinity_hint is supplied

Set valid_mask when no affinity_hint is supplied by the device.

Signed-off-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
This commit is contained in:
Shawn Bohrer 2013-02-15 16:51:41 -06:00 committed by Neil Horman
parent fd6ba8e7d4
commit d097db91ea

View file

@ -90,6 +90,8 @@ static void activate_mapping(struct irq_info *info, void *data __attribute__((un
info->irq);
else
valid_mask = 1;
} else {
valid_mask = 1;
}
}