2017-11-28 02:22:46

by Vincent Chen

[permalink] [raw]
Subject: Re: [PATCH v2 18/35] nds32: Debugging support

2017-11-27 22:34 GMT+08:00 Arnd Bergmann <[email protected]>:
> On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu <[email protected]> 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

From 1585230227012158363@xxx Mon Nov 27 14:35:53 +0000 2017
X-GM-THRID: 1585224459844133782
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread