diff options
author | Liu Xiang <liu.xiang6@zte.com.cn> | 2019-02-16 10:12:24 +0100 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-02-19 21:45:01 +0100 |
commit | 72faa7a773ca59336f3c889e878de81445c5a85c (patch) | |
tree | 2d7240cb8daa56078451ea784820c90f9c9f5a16 /arch/mips/sgi-ip27/ip27-memory.c | |
parent | MIPS: dma-noncoherent: Remove bogus condition in dma_sync_phys() (diff) | |
download | linux-72faa7a773ca59336f3c889e878de81445c5a85c.tar.xz linux-72faa7a773ca59336f3c889e878de81445c5a85c.zip |
MIPS: irq: Allocate accurate order pages for irq stack
The irq_pages is the number of pages for irq stack, but not the
order which is needed by __get_free_pages().
We can use get_order() to calculate the accurate order.
Signed-off-by: Liu Xiang <liu.xiang6@zte.com.cn>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Fixes: fe8bd18ffea5 ("MIPS: Introduce irq_stack")
Cc: linux-mips@vger.kernel.org
Cc: stable@vger.kernel.org # v4.11+
Diffstat (limited to 'arch/mips/sgi-ip27/ip27-memory.c')
0 files changed, 0 insertions, 0 deletions