Palmer Dabbelt 8356c379cf RISC-V: gp_in_global needs register keyword
The Intel kernel build robot recently pointed out that I missed the
register keyword on this one when I refactored the code to remove local
register variables (which aren't supported by LLVM).  GCC's manual
indicates that global register variables must have the register keyword,
As far as I can tell lacking the register keyword causes GCC to ignore
the __asm__ and treat this as a regular variable, but I'm not sure how
that didn't show up as some sort of failure.

Fixes: 52e7c52d2ded ("RISC-V: Stop relying on GCC's register allocator's hueristics")
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2020-05-21 13:28:26 -07:00
..
2020-05-16 13:27:58 -07:00
2020-05-16 13:27:58 -07:00
2020-05-15 00:16:30 +08:00
2020-04-23 16:41:26 +09:00
2020-04-11 11:38:44 -07:00
2020-05-16 13:34:45 -07:00
2020-04-24 10:39:32 -07:00
2020-04-04 10:12:47 -07:00