s390/pci: cleanup clp page allocation
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 31 Jan 2013 18:54:03 +0000 (19:54 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 14 Feb 2013 14:55:16 +0000 (15:55 +0100)
commitadd09d61fee72d7a346051332b6d99f18989504c
treecaece49a2cc56151048707b3f3eef5aa1baef8bb
parentbf4ec24ff8ab54d56c835eb61212a1e87270d7c8
s390/pci: cleanup clp page allocation

Use the __get_free_pages wrapper in clp_alloc_block. Also change the
allocation to use one page only. This page is used as CLP response
block e.g. to list available pci functions. Using one page we can
list > 250 pci functions at once and we have code to loop around this
CLP command (if not all functions fit into to the CLP block) already
in place.

Acked-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/clp.h
arch/s390/pci/pci_clp.c
This page took 0.027141 seconds and 5 git commands to generate.