[Skiboot] [PATCH] hw/occ: Only allocate what we need for pstate dt
Stewart Smith
stewart at linux.vnet.ibm.com
Tue Feb 23 17:50:17 AEDT 2016
Joel Stanley <joel at jms.id.au> writes:
> When constructing the pstate entries in the device tree we allocate
> MAX_PSTATES, even though we know that there are nr_pstates.
>
> Use this information to allocate nr_pstates and potentially save us some
> heap.
>
> Signed-off-by: Joel Stanley <joel at jms.id.au>
Thanks, merged to master as of 1aa5187
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list