[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 1/4] xen/init: Annotate all command line parameter infrastructure as const
>>> On 21.06.16 at 18:59, <andrew.cooper3@xxxxxxxxxx> wrote: > --- a/xen/include/xen/init.h > +++ b/xen/include/xen/init.h > @@ -86,10 +86,11 @@ struct kernel_param { > void *var; > }; > > -extern struct kernel_param __setup_start, __setup_end; > +extern const struct kernel_param __setup_start[], __setup_end[]; > > -#define __setup_str static __initdata __attribute__((__aligned__(1))) char > -#define __kparam static __initsetup \ > +#define __setup_str static const __initconstrel \ > + __attribute__((__aligned__(1))) char This slipped my attention during review, but causes build failure with some gcc versions now: Why __initconstrel rather than __initconst? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |