diff options
author | Liu Xiang <liu.xiang6@zte.com.cn> | 2019-02-16 12:12:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-10 09:17:20 +0300 |
commit | 88793c034edff193c63828f79d0a9e24e49025a8 (patch) | |
tree | 766e89858430b4530193fad74dc0aa5413232aed /net/bpf | |
parent | 5691b93f686e6551a71b27af93b4edc234062e63 (diff) | |
download | linux-88793c034edff193c63828f79d0a9e24e49025a8.tar.xz |
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 'net/bpf')
0 files changed, 0 insertions, 0 deletions