diff options
author | dyson <dyson@FreeBSD.org> | 1997-08-10 00:12:13 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1997-08-10 00:12:13 +0000 |
commit | a8d01f63387385f3007d08292d6dac67356904ec (patch) | |
tree | e826a2a1bb0639a5c074893d6ac656992eecd261 /sys/vm | |
parent | 0204bddf7c022f12cf0b578e39be207ed36c0463 (diff) | |
download | FreeBSD-src-a8d01f63387385f3007d08292d6dac67356904ec.zip FreeBSD-src-a8d01f63387385f3007d08292d6dac67356904ec.tar.gz |
The "cutsie" register parameter passing that I had mistakenly used breaks
profiling. Since it doesn't really improve perf much, I have backed it
out.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_zone.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/vm/vm_zone.h b/sys/vm/vm_zone.h index 05aab2d..fe42f49 100644 --- a/sys/vm/vm_zone.h +++ b/sys/vm/vm_zone.h @@ -19,7 +19,7 @@ * 5. Modifications may be freely made to this file if the above conditions * are met. * - * $Id: vm_zone.h,v 1.3 1997/08/06 04:58:05 dyson Exp $ + * $Id: vm_zone.h,v 1.4 1997/08/07 03:52:55 dyson Exp $ */ #if !defined(_SYS_ZONE_H) @@ -54,15 +54,15 @@ typedef struct vm_zone { } *vm_zone_t; -vm_zone_t zinit(char *name, int size, int nentries, int flags, int zalloc); -int zinitna(vm_zone_t z, struct vm_object *obj, char *name, int size, - int nentries, int flags, int zalloc); -static void * zalloc(vm_zone_t z); -static void zfree(vm_zone_t z, void *item); -void * zalloci(vm_zone_t z) __attribute__((regparm(1))); -void zfreei(vm_zone_t z, void *item) __attribute__((regparm(2))); -void zbootinit(vm_zone_t z, char *name, int size, void *item, int nitems) ; -void * _zget(vm_zone_t z) __attribute__((regparm(1))); +vm_zone_t zinit __P((char *name, int size, int nentries, int flags, int zalloc)); +int zinitna __P((vm_zone_t z, struct vm_object *obj, char *name, int size, + int nentries, int flags, int zalloc)); +static void * zalloc __P((vm_zone_t z)); +static void zfree __P((vm_zone_t z, void *item)); +void * zalloci __P((vm_zone_t z)); +void zfreei __P((vm_zone_t z, void *item)); +void zbootinit __P((vm_zone_t z, char *name, int size, void *item, int nitems)); +void * _zget __P((vm_zone_t z)); /* * void *zalloc(vm_zone_t zone) -- |