aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorZong Li <[email protected]>2020-02-04 19:19:47 +0800
committerPalmer Dabbelt <[email protected]>2020-03-03 10:28:11 -0800
commitaff7783392e0c0152ee01653ce9c61abb4928910 (patch)
treede4e4c049078c2797b654767457568f32374643a /drivers/usb/cdns3/cdns3-debug.h
parent2fab7a15604cfe3605775c5d146a7dfcf97412bb (diff)
riscv: force hart_lottery to put in .sdata section
In PIC code model, the zero initialized data always be put in .bss section, so when building kernel as PIE, the hart_lottery won't present in small data section, and it causes more than one harts to get the lottery, because the main hart clears the content of .bss section immediately after it getting the lottery. Signed-off-by: Zong Li <[email protected]> Reviewed-by: Anup Patel <[email protected]> [Palmer: added a comment] Reviewed-by: Palmer Dabbelt <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions