]> Git Repo - linux.git/blobdiff - arch/tile/kernel/setup.c
dt: Add empty of_match_node() macro
[linux.git] / arch / tile / kernel / setup.c
index 6cdc9ba55fe0443dd8906fd60056d1ad9e6e783f..5f85d8b34dbb0ed717484c03954a1254f4c5f0b1 100644 (file)
@@ -553,8 +553,7 @@ static void __init setup_bootmem_allocator(void)
 
 #ifdef CONFIG_KEXEC
        if (crashk_res.start != crashk_res.end)
-               reserve_bootmem(crashk_res.start,
-                       crashk_res.end - crashk_res.start + 1, 0);
+               reserve_bootmem(crashk_res.start, resource_size(&crashk_res), 0);
 #endif
 }
 
This page took 0.023818 seconds and 4 git commands to generate.