Skip to content

Commit

Permalink
arm64: proc: Mark constant as data
Browse files Browse the repository at this point in the history
Label __idmap_kpti_flag represents the location of a constant.
Mark it as data symbol.

Signed-off-by: Julien Thierry <jthierry@redhat.com>
  • Loading branch information
Julien Thierry committed Mar 3, 2021
1 parent 62af4e2 commit ad132b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm64/mm/proc.S
Expand Up @@ -228,8 +228,8 @@ SYM_FUNC_END(idmap_cpu_replace_ttbr1)
*
* Called exactly once from stop_machine context by each CPU found during boot.
*/
__idmap_kpti_flag:
.long 1
SYM_DATA_LOCAL(__idmap_kpti_flag, .long 1)

SYM_FUNC_START(idmap_kpti_install_ng_mappings)
cpu .req w0
num_cpus .req w1
Expand Down

0 comments on commit ad132b0

Please sign in to comment.