Dmitry V. Levin
af955678b9
As only five architectures have getpagesize syscall, moving the decoder to libstrace allows to get rid of getpagesize related ifdefs and check build of getpagesize decoder on other architectures. * mem.c (SYS_FUNC(getpagesize)): Move ... * getpagesize.c: ... to this new file. * Makefile.am (libstrace_a_SOURCES): Add it.
7 lines
78 B
C
7 lines
78 B
C
#include "defs.h"
|
|
|
|
SYS_FUNC(getpagesize)
|
|
{
|
|
return RVAL_DECODED | RVAL_HEX;
|
|
}
|