Skip to content

Commit

Permalink
From patchwork series 378871
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox Snowpatch committed Oct 23, 2023
1 parent dbcb0dd commit 147de7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/powerpc/kernel/setup-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,8 @@ void __init setup_arch(char **cmdline_p)

/* Parse memory topology */
mem_topology_setup();
/* Set max_mapnr before paging_init() */
set_max_mapnr(max_pfn);

/*
* Release secondary cpus out of their spinloops at 0x60 now that
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/mm/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ void __init mem_init(void)
#endif

high_memory = (void *) __va(max_low_pfn * PAGE_SIZE);
set_max_mapnr(max_pfn);

kasan_late_init();

Expand Down

0 comments on commit 147de7f

Please sign in to comment.