Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f7426c0 authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Tweak assertions in sun4v_build_virq().



They are too strict.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2a263021
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -701,10 +701,10 @@ unsigned int sun4v_build_virq(u32 devhandle, unsigned int devino)
{
	unsigned long sysino, hv_err;

	BUG_ON(devhandle & ~IMAP_IGN);
	BUG_ON(devino & ~IMAP_INO);
	BUG_ON(devhandle & devino);

	sysino = devhandle | devino;
	BUG_ON(sysino & ~(IMAP_IGN | IMAP_INO));

	hv_err = sun4v_vintr_set_cookie(devhandle, devino, sysino);
	if (hv_err) {