>>> On 14.11.16 at 15:24, <jbeul...@suse.com> wrote: >>>> On 14.11.16 at 14:45, <andrew.coop...@citrix.com> wrote: >> The BUILD_BUG_ON() is useful to retain, but I would suggest making >> get_stack_bottom() a static inline and putting the BUILD_BUG_ON() there. > > I would agree if we were to not add back the BUG_ON(), but as > per above I'm not convinced yet.
Actually no - the 16-byte alignment requirement exists only here, not for every caller of this function. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel