summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/vm/as.h
diff options
context:
space:
mode:
authorVamsi Nagineni <Vamsi.Krishna@Sun.COM>2009-03-20 04:32:37 -0700
committerVamsi Nagineni <Vamsi.Krishna@Sun.COM>2009-03-20 04:32:37 -0700
commitbb5ca623d9cfae0efb343eed949af6d1a9163207 (patch)
tree5241ea9be26c8043adc3a839dce95b4f26d62b84 /usr/src/uts/common/vm/as.h
parentcbf75e67acb6c32a2f4884f28a839d59f7988d37 (diff)
downloadillumos-joyent-bb5ca623d9cfae0efb343eed949af6d1a9163207.tar.gz
6810086 panic in rctl_incr_swap() due to freed up proc structure
6557272 assertion failed: zone->zone_max_swap >= swap, panic during dism stress test
Diffstat (limited to 'usr/src/uts/common/vm/as.h')
-rw-r--r--usr/src/uts/common/vm/as.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/uts/common/vm/as.h b/usr/src/uts/common/vm/as.h
index 381bdbaedc..8ee8cb5276 100644
--- a/usr/src/uts/common/vm/as.h
+++ b/usr/src/uts/common/vm/as.h
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -39,8 +39,6 @@
#ifndef _VM_AS_H
#define _VM_AS_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/watchpoint.h>
#include <vm/seg.h>
#include <vm/faultcode.h>
@@ -253,7 +251,7 @@ void as_rangelock(struct as *as);
void as_rangeunlock(struct as *as);
struct as *as_alloc();
void as_free(struct as *as);
-int as_dup(struct as *as, struct as **outas);
+int as_dup(struct as *as, struct proc *forkedproc);
struct seg *as_findseg(struct as *as, caddr_t addr, int tail);
int as_addseg(struct as *as, struct seg *newseg);
struct seg *as_removeseg(struct as *as, struct seg *seg);