Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc9dd5cc authored by Jan Beulich's avatar Jan Beulich Committed by Ingo Molnar
Browse files

x86: move save_mr() into .meminit.text



Impact: cleanup, save memory

The function is only being called from boot or memory hotplug paths.

Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
LKML-Reference: <49B910B6.76E4.0078.0@novell.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 13c6c532
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -94,7 +94,7 @@ struct map_range {
#define NR_RANGE_MR 5
#endif

static int save_mr(struct map_range *mr, int nr_range,
static int __meminit save_mr(struct map_range *mr, int nr_range,
			     unsigned long start_pfn, unsigned long end_pfn,
			     unsigned long page_size_mask)
{