]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - arch/x86/mm/init.c
x86: move save_mr() into .meminit.text
[~shefty/rdma-dev.git] / arch / x86 / mm / init.c
index 15219e0d1243479790e6cd809b68489da41b17f1..fd3da1dda1c9e5033af44cbdaf432239784558f2 100644 (file)
@@ -94,9 +94,9 @@ struct map_range {
 #define NR_RANGE_MR 5
 #endif
 
-static int save_mr(struct map_range *mr, int nr_range,
-                  unsigned long start_pfn, unsigned long end_pfn,
-                  unsigned long page_size_mask)
+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)
 {
        if (start_pfn < end_pfn) {
                if (nr_range >= NR_RANGE_MR)