Add back in old definitions if we're compiling for alpha.
This commit is contained in:
parent
a385495348
commit
3739d7da89
@ -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.65 1999/08/12 21:16:53 alc Exp $
|
||||
* $Id: vm_page.h,v 1.66 1999/08/14 06:25:54 alc Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -193,12 +193,21 @@ struct vm_page {
|
||||
|
||||
#define PQ_L2_MASK (PQ_L2_SIZE - 1)
|
||||
|
||||
#ifdef __alpha__
|
||||
#define PQ_NONE 0
|
||||
#define PQ_FREE 1
|
||||
#define PQ_INACTIVE (1 + 1*PQ_L2_SIZE)
|
||||
#define PQ_ACTIVE (2 + 1*PQ_L2_SIZE)
|
||||
#define PQ_CACHE (3 + 1*PQ_L2_SIZE)
|
||||
#define PQ_COUNT (3 + 2*PQ_L2_SIZE)
|
||||
#else
|
||||
#define PQ_NONE PQ_COUNT
|
||||
#define PQ_FREE 0
|
||||
#define PQ_INACTIVE PQ_L2_SIZE
|
||||
#define PQ_ACTIVE (1 + PQ_L2_SIZE)
|
||||
#define PQ_CACHE (2 + PQ_L2_SIZE)
|
||||
#define PQ_COUNT (2 + 2*PQ_L2_SIZE)
|
||||
#endif
|
||||
|
||||
extern struct vpgqueues {
|
||||
struct pglist *pl;
|
||||
|
Loading…
Reference in New Issue
Block a user