drivers: hv: Fix wrong check for synic_event_page
authorFelipe Pena <felipensp@gmail.com>
Tue, 15 Oct 2013 23:22:32 +0000 (20:22 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Oct 2013 21:00:09 +0000 (14:00 -0700)
commitfdf91dae6f024c6dfee425fe754df6b1957f6c53
tree84fc84b5f480a3e2167e856d9f905dee33b738ea
parentfe576a580f2a62c43bb81b18700576a66b332c8f
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>
drivers/hv/hv.c