Don't base the number of jumbo segments on page size, instead base it on the

fact that jumbo desriptors are defined to have 3 segments.

Found by: Coverity Prevent(tm)
This commit is contained in:
Scott Long 2006-01-14 17:42:22 +00:00
parent 0af57729a6
commit 59caf6ec50

View File

@ -2292,7 +2292,7 @@ struct vpd_key {
#define BGE_RESID (BGE_JPAGESZ - (BGE_JLEN * BGE_JSLOTS) % BGE_JPAGESZ)
#define BGE_JMEM ((BGE_JLEN * BGE_JSLOTS) + BGE_RESID)
#define BGE_NSEG_JUMBO (MJUM9BYTES/PAGE_SIZE + 1)
#define BGE_NSEG_JUMBO 3
#define BGE_NSEG_NEW 32
/*