OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 8... | Line 8... | |||
8 | Signed-off-by: Ben Menchaca <ben.menchaca@qca.qualcomm.com> |
8 | Signed-off-by: Ben Menchaca <ben.menchaca@qca.qualcomm.com> |
|
9 | Signed-off-by: Felix Fietkau <nbd@nbd.name> |
9 | Signed-off-by: Felix Fietkau <nbd@nbd.name> |
|
10 | --- |
10 | --- |
|
11 | --- a/arch/mips/include/asm/r4kcache.h |
11 | --- a/arch/mips/include/asm/r4kcache.h |
|
12 | +++ b/arch/mips/include/asm/r4kcache.h |
12 | +++ b/arch/mips/include/asm/r4kcache.h |
|
13 | @@ -683,16 +683,48 @@ static inline void prot##extra##blast_## |
13 | @@ -682,16 +682,48 @@ static inline void prot##extra##blast_## |
|
14 | unsigned long end) \ |
14 | unsigned long end) \ |
|
15 | { \ |
15 | { \ |
|
16 | unsigned long lsize = cpu_##desc##_line_size(); \ |
16 | unsigned long lsize = cpu_##desc##_line_size(); \ |
|
17 | + unsigned long lsize_2 = lsize * 2; \ |
17 | + unsigned long lsize_2 = lsize * 2; \ |
|
18 | + unsigned long lsize_3 = lsize * 3; \ |
18 | + unsigned long lsize_3 = lsize * 3; \ |