projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lint
[unix-history]
/
usr
/
src
/
sys
/
kern
/
uipc_mbuf.c
diff --git
a/usr/src/sys/kern/uipc_mbuf.c
b/usr/src/sys/kern/uipc_mbuf.c
index
323539d
..
f234bbf
100644
(file)
--- a/
usr/src/sys/kern/uipc_mbuf.c
+++ b/
usr/src/sys/kern/uipc_mbuf.c
@@
-1,4
+1,4
@@
-/* uipc_mbuf.c 1.
38 82/10/09
*/
+/* uipc_mbuf.c 1.
40 82/10/21
*/
#include "../h/param.h"
#include "../h/dir.h"
#include "../h/param.h"
#include "../h/dir.h"
@@
-9,6
+9,7
@@
#include "../h/map.h"
#include "../h/mbuf.h"
#include "../h/vm.h"
#include "../h/map.h"
#include "../h/mbuf.h"
#include "../h/vm.h"
+#include "../h/kernel.h"
mbinit()
{
mbinit()
{
@@
-34,7
+35,7
@@
m_clalloc(ncl, how)
npg = ncl * CLSIZE;
s = splimp(); /* careful: rmalloc isn't reentrant */
npg = ncl * CLSIZE;
s = splimp(); /* careful: rmalloc isn't reentrant */
- mbx = rmalloc(mbmap, npg);
+ mbx = rmalloc(mbmap,
(long)
npg);
splx(s);
if (mbx == 0)
return (0);
splx(s);
if (mbx == 0)
return (0);