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

Commit 6a76267f authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: bp->pil can never be zero



Only pil0_dummy_bucket had a pil of zero and we just killed that
off, so we can delete all special case code that used bp->pil==0
as a way to identify a dummy bucket.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fd0504c3
Loading
Loading
Loading
Loading
+13 −14
Original line number Original line Diff line number Diff line
@@ -633,7 +633,7 @@ static void process_bucket(struct ino_bucket *bp, struct pt_regs *regs)
		if (!action_mask)
		if (!action_mask)
			break;
			break;
	}
	}
	if (bp->pil != 0) {

	if (tlb_type == hypervisor) {
	if (tlb_type == hypervisor) {
		unsigned int ino = __irq_ino(bp);
		unsigned int ino = __irq_ino(bp);
		int err;
		int err;
@@ -649,7 +649,6 @@ static void process_bucket(struct ino_bucket *bp, struct pt_regs *regs)
	/* Test and add entropy */
	/* Test and add entropy */
	if (random & SA_SAMPLE_RANDOM)
	if (random & SA_SAMPLE_RANDOM)
		add_interrupt_randomness(bp->pil);
		add_interrupt_randomness(bp->pil);
	}
out:
out:
	bp->flags &= ~IBF_INPROGRESS;
	bp->flags &= ~IBF_INPROGRESS;
}
}