Re: [PATCH v2 18/35] nds32: Debugging support
From: Arnd Bergmann
Date: Mon Nov 27 2017 - 09:35:06 EST
On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu <green.hu@xxxxxxxxx> 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