Skip to content

Commit

Permalink
Merge branches 'sh/core' and 'sh/kexec' into sh-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Mundt committed Oct 28, 2011
3 parents d4d9781 + 6988d64 + 41309b7 commit 9060c05
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions arch/sh/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,16 @@ void __init __add_active_range(unsigned int nid, unsigned long start_pfn,
}

/*
* We don't know which RAM region contains kernel data,
* so we try it repeatedly and let the resource manager
* test it.
* We don't know which RAM region contains kernel data or
* the reserved crashkernel region, so try it repeatedly
* and let the resource manager test it.
*/
request_resource(res, &code_resource);
request_resource(res, &data_resource);
request_resource(res, &bss_resource);
#ifdef CONFIG_KEXEC
request_resource(res, &crashk_res);
#endif

/*
* Also make sure that there is a PMB mapping that covers this
Expand Down
1 change: 1 addition & 0 deletions arch/sh/kernel/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <linux/cpumask.h>
#include <linux/init.h>
#include <linux/percpu.h>
#include <linux/topology.h>
#include <linux/node.h>
#include <linux/nodemask.h>

Expand Down

0 comments on commit 9060c05

Please sign in to comment.