diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 1998-09-01 17:12:19 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 1998-09-01 17:12:19 +0000 |
| commit | 85e7f5492bd07a2ec31d0b03db028680f55e65fd (patch) | |
| tree | 87bb94943f38828b0d4bda8c399cccffaad8cb2e /sys/vm | |
| parent | f58619de89a3889f3310c1c464717ecffb8daafc (diff) | |
Notes
Diffstat (limited to 'sys/vm')
| -rw-r--r-- | sys/vm/vm_page.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index fc6d61c3753c..bf790642ea94 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_page.h,v 1.43 1998/08/22 15:24:09 mckay Exp $ + * $Id: vm_page.h,v 1.44 1998/08/24 08:39:38 dfr Exp $ */ /* @@ -292,7 +292,7 @@ extern vm_offset_t last_phys_addr; /* physical address for last_page */ #define PAGE_WAKEUP(m) { \ PAGE_CLEAR_FLAG(m, PG_BUSY); \ - if (((m)->flags & PG_WANTED) && ((m)->busy == 0)) { \ + if ((m)->flags & PG_WANTED) { \ PAGE_CLEAR_FLAG(m, PG_WANTED); \ wakeup((m)); \ } \ @@ -302,8 +302,7 @@ extern vm_offset_t last_phys_addr; /* physical address for last_page */ #define PAGE_BWAKEUP(m) { \ atomic_subtract_char(&(m)->busy, 1); \ - if ((((m)->flags & (PG_WANTED | PG_BUSY)) == PG_WANTED) && \ - ((m)->busy == 0)) { \ + if (((m)->flags & PG_WANTED) && (m)->busy == 0) { \ PAGE_CLEAR_FLAG(m, PG_WANTED); \ wakeup((m)); \ } \ |
