commit | 5bc13c2cbeec776a2b724cb51bf11fbc30c23318 | [log] [tgz] |
---|---|---|
author | Robert Richter <rrichter@cavium.com> | Wed Feb 01 18:38:25 2017 +0100 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Wed Feb 08 15:47:44 2017 +0000 |
tree | 55498e6d7537123b40960ad94af921b78b91650d | |
parent | 4cfffcfa5106492f5785924ce2e9af49f075999b [diff] |
irqchip/gic-v3-its: Fix command buffer allocation The its command buffer must be page aligned, but kzalloc() is not guaranteed to be (though it is mostly when allocating 64k). Use __get_free_pages() as this is used for other buffers as well. Signed-off-by: Robert Richter <rrichter@cavium.com> [Marc: fixed the error path] Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>