Re: [PATCH] hyperv: Fix compilation issue with 4.4.19-rt27

From: Steven Rostedt
Date: Thu Sep 01 2016 - 11:14:08 EST


On Thu, 1 Sep 2016 10:57:14 +0200
Juerg Haefliger <juerg.haefliger@xxxxxxx> wrote:

> Fix a compilation issue introduced by upstream commit
> 4b44f2d18a330565227a7348844493c59366171e
>
> The upstream commit exports the symbol add_interrupt_randomness()
> which is now being used in the Hyper-V driver. The RT patch adds another
> argument to that function so its usage in the Hyper-V driver needs to
> be fixed.
>

I guess I should have run "make allmodconfig" before posting. Just
didn't have the time. :-/

Thanks for the patch. I'm currently working to get my mainline work
finished (that's taking up my resources). I'll work to include this
patch either tomorrow, or it will have to wait for next week, as it's a
US holiday weekend.

-- Steve

> This patch should be merged with:
> patches/0216-random-Make-it-work-on-rt.patch
> commit 20985550b01a21ba00a587d17d7c26da61e01acc random: Make it work on rt
>
> Signed-off-by: Juerg Haefliger <juerg.haefliger@xxxxxxx>
> Reviewed-by: T Makphaibulchoke <tmac@xxxxxxx>
> ---
> drivers/hv/vmbus_drv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
> index 9b5440f6b3b4..c9c4899834f2 100644
> --- a/drivers/hv/vmbus_drv.c
> +++ b/drivers/hv/vmbus_drv.c
> @@ -828,7 +828,7 @@ static void vmbus_isr(void)
> tasklet_schedule(&msg_dpc);
> }
>
> - add_interrupt_randomness(HYPERVISOR_CALLBACK_VECTOR, 0);
> + add_interrupt_randomness(HYPERVISOR_CALLBACK_VECTOR, 0, 0);
> }
>
>