fix:fixed variable misuse

This commit is contained in:
zb1tree 2023-04-16 16:35:32 +08:00 committed by Man, Jianting (Meco)
parent 9e680e9f86
commit a25d3fd301
1 changed files with 2 additions and 2 deletions

View File

@ -124,8 +124,8 @@ void invalidate_writeback_dcache(unsigned long addr, int size)
{
unsigned long start, end;
start = (addr +pcacheinfo->dcacheline_size -1) & (- pcacheinfo->dcacheline_size);
end = (end + size + pcacheinfo->dcacheline_size -1) & ( -pcacheinfo->dcacheline_size);
start = (addr + pcacheinfo->dcacheline_size -1) & (- pcacheinfo->dcacheline_size);
end = (addr + size + pcacheinfo->dcacheline_size -1) & ( -pcacheinfo->dcacheline_size);
while (start <end)
{