Respect RF_SHAREABLE flag in ARM nexus_setup_intr()
Reviewed by: imp Approved by: cognet (mentor)
This commit is contained in:
parent
47c2e9879b
commit
507ea268f2
@ -129,6 +129,9 @@ nexus_setup_intr(device_t dev, device_t child, struct resource *res, int flags,
|
||||
{
|
||||
int i;
|
||||
|
||||
if ((rman_get_flags(res) & RF_SHAREABLE) == 0)
|
||||
flags |= INTR_EXCL;
|
||||
|
||||
for (i = rman_get_start(res); i <= rman_get_end(res); i++)
|
||||
arm_setup_irqhandler(device_get_nameunit(child),
|
||||
filt, intr, arg, i, flags, cookiep);
|
||||
|
Loading…
Reference in New Issue
Block a user