On 14 September 2014 21:29, Max Filippov <jcmvb...@gmail.com> wrote: > On Sun, Sep 14, 2014 at 12:36 PM, Peter Maydell > <peter.mayd...@linaro.org> wrote: >> The XtensaConfig structs will be defined but not used if they are >> for the opposite endianness from that of the binary being built; >> keep the compiler from complaining about this by marking them >> with the 'unused' attribute. >> >> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> >> --- >> This works, although it's a tad ugly. If anybody wants to suggest >> something better... > > Fine for me. > >> target-xtensa/core-dc232b.c | 2 +- >> target-xtensa/core-dc233c.c | 2 +- >> target-xtensa/core-fsf.c | 2 +- >> 3 files changed, 3 insertions(+), 3 deletions(-) > > Acked-by: Max Filippov <jcmvb...@gmail.com>
Thanks. I guess we could put this one in through -trivial ? Patchwork url: http://patchwork.ozlabs.org/patch/389115/ -- PMM