summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/mpc8xx.h
diff options
context:
space:
mode:
authorMarcelo Tosatti <marcelo.tosatti@cyclades.com>2006-01-17 00:24:42 -0200
committerPaul Mackerras <paulus@samba.org>2006-01-20 16:13:50 +1100
commit0ec57e53c945fe962b190953f61e1ffd127e68d3 (patch)
tree2c8cf3e91aa3222be2f7e55bbbd4f55c4deef98f /include/asm-ppc/mpc8xx.h
parentf4fc4a5b74cff2a487222f05704a2bd01953d250 (diff)
downloadop-kernel-dev-0ec57e53c945fe962b190953f61e1ffd127e68d3.zip
op-kernel-dev-0ec57e53c945fe962b190953f61e1ffd127e68d3.tar.gz
[PATCH] powerpc: generalize PPC44x_PIN_SIZE
The following patch generalizes PPC44x_PIN_SIZE by changing it to PPC_PIN_SIZE, which can be defined by any sub-arch to automatically adjust VMALLOC_START. Define PPC_PIN_SIZE on 8xx, avoiding potential conflicts with the pinned space. Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc/mpc8xx.h')
-rw-r--r--include/asm-ppc/mpc8xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-ppc/mpc8xx.h b/include/asm-ppc/mpc8xx.h
index 46f159c..73ec9a6 100644
--- a/include/asm-ppc/mpc8xx.h
+++ b/include/asm-ppc/mpc8xx.h
@@ -113,6 +113,8 @@ enum ppc_sys_devices {
MPC8xx_CPM_USB,
};
+#define PPC_PIN_SIZE (24 * 1024 * 1024) /* 24Mbytes of data pinned */
+
#ifndef BOARD_CHIP_NAME
#define BOARD_CHIP_NAME ""
#endif
OpenPOWER on IntegriCloud