VM: slight pagedir mapping generalization

. allow any number of pde's used for pagedir mapping
	. allows >1024 NR_PROCS on x86, >64 on ARM
	. allows NR_PROCS to be the same in both cases
	. also cleanup: allocating spare PDE's is not necessary
	  throw that function out

Change-Id: Ibb8f8cf6e7db6a4d6384b6911d1a3f3f5e5d8256
This commit is contained in:
Ben Gras
2013-02-10 19:37:12 +01:00
parent 7df45744ad
commit d1df256de9
2 changed files with 73 additions and 83 deletions

View File

@@ -5,12 +5,7 @@
* This section contains user-settable parameters *
*===========================================================================*/
#if defined(__arm__)
/* FIXME: For now we only support 64 processes on ARM */
#define _NR_PROCS 64
#else
#define _NR_PROCS 256
#endif /* defined(__arm__) */
#define _NR_SYS_PROCS 64
/* Set the FP_FORMAT type based on the machine selected, either hw or sw */