Make npages static and const.
This commit is contained in:
parent
3435220961
commit
a8ab852940
@ -166,7 +166,7 @@ struct pagerops *pagertab[] = {
|
||||
&deadpagerops /* OBJT_DEAD */
|
||||
};
|
||||
|
||||
int npagers = sizeof(pagertab) / sizeof(pagertab[0]);
|
||||
static const int npagers = sizeof(pagertab) / sizeof(pagertab[0]);
|
||||
|
||||
/*
|
||||
* Kernel address space for mapping pages.
|
||||
|
Loading…
x
Reference in New Issue
Block a user