On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu <green...@gmail.com> wrote: > +struct user_pt_regs { > + long uregs[26]; > + long fp; > + long gp; > + long lp; > + long sp; > + long ipc; > +#if defined(CONFIG_HWZOL) > + long lb; > + long le; > + long lc; > +#else > + long dummy[3]; > +#endif > + long syscallno; > +};
You cannot reference CONFIG_ symbols in a uapi header, since the configuration headers are not available. Arnd