In the fix reconnecting hash__tlb_flush() to tlb_flush() the void return on radix__tlb_flush() was not restored and subsequently falls through to the restored hash__tlb_flush(). Guard hash__tlb_flush() under an else to prevent this.
Unified · Split
| @@ -97,8 +97,8 @@ static inline void tlb_flush(struct mmu_gather *tlb) · 96 unmodified lines | ||
| 97 | 97 | { |
| 98 | 98 | if (radix_enabled()) |
| 99 | 99 | radix__tlb_flush(tlb); |
| 100 | − | |
| 101 | − return hash__tlb_flush(tlb); | |
| 100 | + else | |
| 101 | + hash__tlb_flush(tlb); | |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | #ifdef CONFIG_SMP |