Re: [PATCH v2 18/35] nds32: Debugging support
From: Vincent Chen
Date: Mon Nov 27 2017 - 21:22:05 EST
2017-11-27 22:34 GMT+08:00 Arnd Bergmann <arnd@xxxxxxxx>:
> 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.
>
Thanks
I will modify it in the next version patch.
> Arnd