diff options
author | Liu Xiang <liu.xiang6@zte.com.cn> | 2019-02-16 17:12:24 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-10 07:09:00 +0100 |
commit | 2ac0fa7f3373295a8a9fe8f9dc940fa9ac1a82f8 (patch) | |
tree | 8a5fafd1fba1a6edbad0890042ad165f23897521 /arch/xtensa | |
parent | a8cc62bd8806809ddc5e172c04483f3553d6c2e8 (diff) | |
download | talos-obmc-linux-2ac0fa7f3373295a8a9fe8f9dc940fa9ac1a82f8.tar.gz talos-obmc-linux-2ac0fa7f3373295a8a9fe8f9dc940fa9ac1a82f8.zip |
MIPS: irq: Allocate accurate order pages for irq stack
commit 72faa7a773ca59336f3c889e878de81445c5a85c upstream.
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+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/xtensa')
0 files changed, 0 insertions, 0 deletions