On Mon, Jun 11, 2018 at 5:46 PM, Palmer Dabbelt <pal...@sifive.com> wrote: > Whoops, that's embarassing :). I poked around and didn't see this anywhere > else, so I'm not sure where we managed to obtain this particular pathology.
Comment say it was copied from tile which I think was just recently removed. But looking at older copy, tile has "struct pt_regs regs" whereas riscv has "struct pt_regs *regs" and so tile needed the & and riscv does not, but only one of the two ampersands was removed in the riscv port. My patch removes the other one. Jim