lkml.org 
[lkml]   [2017]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 18/35] nds32: Debugging support
On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu <green.hu@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

\
 
 \ /
  Last update: 2017-11-27 15:35    [W:0.177 / U:11.136 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site