mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
[SPARC64]: Tweak assertions in sun4v_build_virq().
They are too strict. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2a26302164
commit
5f7426c0e1
1 changed files with 2 additions and 2 deletions
|
@ -701,10 +701,10 @@ unsigned int sun4v_build_virq(u32 devhandle, unsigned int devino)
|
||||||
{
|
{
|
||||||
unsigned long sysino, hv_err;
|
unsigned long sysino, hv_err;
|
||||||
|
|
||||||
BUG_ON(devhandle & ~IMAP_IGN);
|
BUG_ON(devhandle & devino);
|
||||||
BUG_ON(devino & ~IMAP_INO);
|
|
||||||
|
|
||||||
sysino = devhandle | devino;
|
sysino = devhandle | devino;
|
||||||
|
BUG_ON(sysino & ~(IMAP_IGN | IMAP_INO));
|
||||||
|
|
||||||
hv_err = sun4v_vintr_set_cookie(devhandle, devino, sysino);
|
hv_err = sun4v_vintr_set_cookie(devhandle, devino, sysino);
|
||||||
if (hv_err) {
|
if (hv_err) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue