mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
powerpc/64: Call setup_barrier_nospec() from setup_arch()
Currently we require platform code to call setup_barrier_nospec(). But if we add an empty definition for the !CONFIG_PPC_BARRIER_NOSPEC case then we can call it in setup_arch(). Signed-off-by: Diana Craciun <diana.craciun@nxp.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
179ab1cbf8
commit
af375eefbf
4 changed files with 6 additions and 2 deletions
|
@ -972,6 +972,8 @@ void __init setup_arch(char **cmdline_p)
|
|||
if (ppc_md.setup_arch)
|
||||
ppc_md.setup_arch();
|
||||
|
||||
setup_barrier_nospec();
|
||||
|
||||
paging_init();
|
||||
|
||||
/* Initialize the MMU context management stuff. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue