diff options
author | Will Deacon <[email protected]> | 2013-02-28 17:48:40 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2013-03-03 22:54:16 +0000 |
commit | 89c7e4b8bbb3d4fa52df5746a8ad38e610143651 (patch) | |
tree | f6d3d835f5fca88fd4de01f166d782f16c2fe3c9 /lib/debugobjects.c | |
parent | 862c588f062fe9339a180cf6429e4df1855c376a (diff) |
ARM: 7661/1: mm: perform explicit branch predictor maintenance when required
The ARM ARM requires branch predictor maintenance if, for a given ASID,
the instructions at a specific virtual address appear to change.
From the kernel's point of view, that means:
- Changing the kernel's view of memory (e.g. switching to the
identity map)
- ASID rollover (since ASIDs will be re-allocated to new tasks)
This patch adds explicit branch predictor maintenance when either of the
two conditions above are met.
Reviewed-by: Catalin Marinas <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions