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:
parent
0af57729a6
commit
59caf6ec50
@ -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
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user