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-23 08:44:23 +0100 |
commit | 5b98f0928666b8da3ff4a5fc412c55fb092e37d5 (patch) | |
tree | 4b870eae2647f1b3930f313f9ddb4c1d9fda79c3 /mm | |
parent | 0adb8a1d60b1949945f4bd16af3c04f4337045a9 (diff) | |
download | linux-stable-5b98f0928666b8da3ff4a5fc412c55fb092e37d5.tar.gz linux-stable-5b98f0928666b8da3ff4a5fc412c55fb092e37d5.tar.bz2 linux-stable-5b98f0928666b8da3ff4a5fc412c55fb092e37d5.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 'mm')
0 files changed, 0 insertions, 0 deletions