lib: Remove unused mepc arg from load_xyz() and store_xyz() functions

This patch removes unused mepc arg from load_xyz() and store_xyz()
unpriviledge access functions.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
Anup Patel
2019-03-30 17:35:48 +05:30
committed by Anup Patel
parent f9cfe301c9
commit cfff0126ab
3 changed files with 18 additions and 20 deletions

View File

@@ -58,7 +58,7 @@ int sbi_ipi_send_many(struct sbi_scratch *scratch,
u32 hartid = sbi_current_hartid();
if (pmask)
mask &= load_ulong(pmask, csr_read(CSR_MEPC));
mask &= load_ulong(pmask);
/* send IPIs to every other hart on the set */
for (i = 0, m = mask; m; i++, m >>= 1)