diff options
author | Felipe Pena <felipensp@gmail.com> | 2013-10-16 01:22:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-16 23:00:09 +0200 |
commit | fdf91dae6f024c6dfee425fe754df6b1957f6c53 (patch) | |
tree | 84fc84b5f480a3e2167e856d9f905dee33b738ea /drivers/hv | |
parent | w1: omap-hdq: remove deprecated IRQF_DISABLED (diff) | |
download | linux-fdf91dae6f024c6dfee425fe754df6b1957f6c53.tar.xz linux-fdf91dae6f024c6dfee425fe754df6b1957f6c53.zip |
drivers: hv: Fix wrong check for synic_event_page
The check for calling free_page() on hv_context.synic_event_page[cpu] is the
same for hv_context.synic_message_page[cpu], like a copy-paste error.
Signed-off-by: Felipe Pena <felipensp@gmail.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
-rw-r--r-- | drivers/hv/hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c index 88f4096fa078..f0c5e07c25ec 100644 --- a/drivers/hv/hv.c +++ b/drivers/hv/hv.c @@ -304,7 +304,7 @@ err: void hv_synic_free_cpu(int cpu) { kfree(hv_context.event_dpc[cpu]); - if (hv_context.synic_message_page[cpu]) + if (hv_context.synic_event_page[cpu]) free_page((unsigned long)hv_context.synic_event_page[cpu]); if (hv_context.synic_message_page[cpu]) free_page((unsigned long)hv_context.synic_message_page[cpu]); |