Browse Source

use PAGESIZE rather than PAGE_SIZE in user.h bits

align with commit c9c2cd3e69.
master
Rich Felker 8 years ago
parent
commit
6ecb9c14c4
  1. 4
      arch/i386/bits/user.h
  2. 4
      arch/s390x/bits/user.h
  3. 4
      arch/x32/bits/user.h
  4. 4
      arch/x86_64/bits/user.h

4
arch/i386/bits/user.h

@ -37,8 +37,8 @@ struct user {
int u_debugreg[8];
};
#define PAGE_MASK (~(PAGE_SIZE-1))
#define NBPG PAGE_SIZE
#define PAGE_MASK (~(PAGESIZE-1))
#define NBPG PAGESIZE
#define UPAGES 1
#define HOST_TEXT_START_ADDR (u.start_code)
#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)

4
arch/s390x/bits/user.h

@ -54,8 +54,8 @@ struct user {
char u_comm[32];
};
#define PAGE_MASK (~(PAGE_SIZE-1))
#define NBPG PAGE_SIZE
#define PAGE_MASK (~(PAGESIZE-1))
#define NBPG PAGESIZE
#define UPAGES 1
#define HOST_TEXT_START_ADDR (u.start_code)
#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)

4
arch/x32/bits/user.h

@ -34,8 +34,8 @@ struct user {
unsigned long u_debugreg[8];
};
#define PAGE_MASK (~(PAGE_SIZE-1))
#define NBPG PAGE_SIZE
#define PAGE_MASK (~(PAGESIZE-1))
#define NBPG PAGESIZE
#define UPAGES 1
#define HOST_TEXT_START_ADDR (u.start_code)
#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)

4
arch/x86_64/bits/user.h

@ -34,8 +34,8 @@ struct user {
unsigned long u_debugreg[8];
};
#define PAGE_MASK (~(PAGE_SIZE-1))
#define NBPG PAGE_SIZE
#define PAGE_MASK (~(PAGESIZE-1))
#define NBPG PAGESIZE
#define UPAGES 1
#define HOST_TEXT_START_ADDR (u.start_code)
#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)

Loading…
Cancel
Save