hvcs: Ensure page aligned partner info buffer
authorBrian King <brking@linux.vnet.ibm.com>
Tue, 13 Sep 2011 11:22:51 +0000 (11:22 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 20 Sep 2011 05:53:24 +0000 (15:53 +1000)
commitac07a4a57f7408922a0b3d4dcb87104fe8a3d8ca
treea3eede543ce5d626a34066c2690bff6c4568df8b
parent8bdafa39a47265bc029838b35cc6585f69224afa
hvcs: Ensure page aligned partner info buffer

The Power platform requires the partner info buffer to be page aligned
otherwise it will fail the partner info hcall with H_PARAMETER. Switch
from using kmalloc to allocate this buffer to __get_free_page to ensure
page alignment.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/tty/hvc/hvcs.c