diff options
author | Paul Burton <paul.burton@mips.com> | 2019-04-30 22:53:30 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-05-02 11:20:26 -0700 |
commit | f995adb0ac5bcfa0d396ba7706aab420c7a6fec2 (patch) | |
tree | 907d5a3e54f708c036000303a0efd11094916c3b /usr/gen_init_cpio.c | |
parent | cf0c4876684d287b6fe72699598517ca9b827216 (diff) | |
download | linux-f995adb0ac5bcfa0d396ba7706aab420c7a6fec2.tar.bz2 |
MIPS: Use memblock_phys_alloc() for exception vector
Allocate the exception vector using memblock_phys_alloc() which gives us
a physical address, rather than the previous convoluted setup which
obtained a virtual address using memblock_alloc(), converted it to a
physical address & then back to a virtual address.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'usr/gen_init_cpio.c')
0 files changed, 0 insertions, 0 deletions