Input: hyperv-keyboard - remove dependencies on PAGE_SIZE for ring buffer
authorMaya Nakamura <m.maya.nakamura@gmail.com>
Sun, 14 Jul 2019 23:27:18 +0000 (16:27 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 15 Jul 2019 16:43:15 +0000 (09:43 -0700)
commit88f28e95e72eebecce5ba6944adffdf3654f626c
treeb22580a22f28b1b1d0b0025f4b6722b4cc4b0fe0
parentb8374b85529d9fb974be80c0809c070398aa8cb2
Input: hyperv-keyboard - remove dependencies on PAGE_SIZE for ring buffer

Define the ring buffer size as a constant expression because it should
not depend on the guest page size.

Signed-off-by: Maya Nakamura <m.maya.nakamura@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/hyperv-keyboard.c