Liu Xiang 72faa7a773
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+
2019-02-19 12:45:01 -08:00
..
2018-12-03 13:42:38 -08:00
2017-02-13 18:57:34 +00:00
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2019-02-04 10:56:41 -08:00
2018-10-31 08:54:16 -07:00
2019-02-15 14:22:44 -08:00
2016-05-09 12:00:02 +02:00
2018-10-31 08:54:16 -07:00
2018-06-24 09:26:01 -07:00
2018-08-31 11:49:20 -07:00
2019-02-04 10:56:41 -08:00
2019-02-04 10:56:41 -08:00
2019-02-04 10:56:41 -08:00
2014-05-24 00:07:01 +02:00
2018-10-31 08:54:16 -07:00
2018-12-03 13:42:38 -08:00