Print this page
NEX-5164 backport illumos 6514 AS_* lock macros simplification
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
6514 AS_* lock macros simplification
Reviewed by: Piotr Jasiukajtis <estibi@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Albert Lee <trisk@omniti.com>
Approved by: Dan McDonald <danmcd@omniti.com>
re #13613 rb4516 Tunables needs volatile keyword

*** 18,27 **** --- 18,28 ---- * * CDDL HEADER END */ /* * Copyright (c) 1986, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright 2013 Nexenta Systems, Inc. All rights reserved. */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */
*** 71,81 **** #include <vm/seg.h> #include <vm/page.h> #include <vm/seg_vn.h> #include <vm/seg_kmem.h> ! extern int maxphys; void minphys(struct buf *bp) { if (bp->b_bcount > maxphys) --- 72,82 ---- #include <vm/seg.h> #include <vm/page.h> #include <vm/seg_vn.h> #include <vm/seg_kmem.h> ! #include <sys/sunddi.h> void minphys(struct buf *bp) { if (bp->b_bcount > maxphys)