diff options
Diffstat (limited to 'arch/arm/common/pl330.c')
-rw-r--r-- | arch/arm/common/pl330.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/common/pl330.c b/arch/arm/common/pl330.c index 8f0f86db3602..97912fa48782 100644 --- a/arch/arm/common/pl330.c +++ b/arch/arm/common/pl330.c | |||
@@ -1045,7 +1045,7 @@ static inline int _loop(unsigned dry_run, u8 buf[], | |||
1045 | unsigned lcnt0, lcnt1, ljmp0, ljmp1; | 1045 | unsigned lcnt0, lcnt1, ljmp0, ljmp1; |
1046 | struct _arg_LPEND lpend; | 1046 | struct _arg_LPEND lpend; |
1047 | 1047 | ||
1048 | /* Max iterations possibile in DMALP is 256 */ | 1048 | /* Max iterations possible in DMALP is 256 */ |
1049 | if (*bursts >= 256*256) { | 1049 | if (*bursts >= 256*256) { |
1050 | lcnt1 = 256; | 1050 | lcnt1 = 256; |
1051 | lcnt0 = 256; | 1051 | lcnt0 = 256; |
@@ -1446,7 +1446,7 @@ int pl330_update(const struct pl330_info *pi) | |||
1446 | } | 1446 | } |
1447 | 1447 | ||
1448 | for (ev = 0; ev < pi->pcfg.num_events; ev++) { | 1448 | for (ev = 0; ev < pi->pcfg.num_events; ev++) { |
1449 | if (val & (1 << ev)) { /* Event occured */ | 1449 | if (val & (1 << ev)) { /* Event occurred */ |
1450 | struct pl330_thread *thrd; | 1450 | struct pl330_thread *thrd; |
1451 | u32 inten = readl(regs + INTEN); | 1451 | u32 inten = readl(regs + INTEN); |
1452 | int active; | 1452 | int active; |