process stack: use PAGE_SIZE in aux vector

Don't ask me why this shares POSTK_DEBUG_ARCH_DEP_50 with the ksym lookups...

Change-Id: Ic3db2cd77ca88be361cefec85d8ed9deb21ffcd8
Fujitsu: POSTK_DEBUG_ARCH_DEP_50
This commit is contained in:
Dominique Martinet
2019-02-27 14:46:03 +09:00
committed by Dominique Martinet
parent a5d5baf8a8
commit 4606714c07

View File

@ -2380,11 +2380,7 @@ int init_process_stack(struct thread *thread, struct program_load_desc *pn,
p[s_ind--] = AT_PHENT;
p[s_ind--] = pn->at_phdr; /* AT_PHDR */
p[s_ind--] = AT_PHDR;
#ifdef POSTK_DEBUG_ARCH_DEP_50
p[s_ind--] = PAGE_SIZE; /* AT_PAGESZ */
#else
p[s_ind--] = 4096; /* AT_PAGESZ */
#endif /* POSTK_DEBUG_ARCH_DEP_50 */
p[s_ind--] = AT_PAGESZ;
p[s_ind--] = pn->at_clktck; /* AT_CLKTCK */
p[s_ind--] = AT_CLKTCK;