aboutsummaryrefslogtreecommitdiffstats
path: root/lib/devres.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-06-18 15:17:39 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-06-26 00:37:25 -0400
commit4a5cbf17c49a6024a6d7baf03efdffb8ed252bb1 (patch)
tree6df61604f244537719795b796a4c93b5ed8a8d47 /lib/devres.c
parent3514141aedc16c7344117d5bd79ec1310edf8fb3 (diff)
powerpc: Map more memory early on 601 processors
The 32-bit kernel relies on some memory being mapped covering the kernel text,data and bss at least, early during boot before the full MMU setup is done. On 32-bit "classic" processors, this is done using BAT registers. On 601, the size of BATs is limited to 8M and we use 2 of them for that initial mapping. This can become quite tight when enabling features like lockdep, so let's use a 3rd one to bump that mapping from 16M to 24M. We keep the 4th BAT free as it can be useful for debugging early boot code to map things like serial ports. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions