]> git.baikalelectronics.ru Git - kernel.git/commit
CRIS: Change DEFINE_PER_CPU of current_pgd to be non volatile.
authorJesper Nilsson <jesper.nilsson@axis.com>
Wed, 24 Jun 2009 06:13:41 +0000 (15:13 +0900)
committerTejun Heo <tj@kernel.org>
Wed, 24 Jun 2009 06:13:41 +0000 (15:13 +0900)
commit557fca52c214c53af5bef7d3b1c457c6c41b9dd8
tree9b64106a0d829b4518b974600f4abef04e3f9a2f
parenta2b6d2a7c5d07c9ed38da84aa6e29401873b9d74
CRIS: Change DEFINE_PER_CPU of current_pgd to be non volatile.

The DEFINE_PER_CPU of current_pgd was on CRIS defined using volatile,
which is not needed. Remove volatile.

Tested on an ARTPEC-3 (CRISv32) board.

tj: extern DEFINE_PER_CPU() replaced with DECLARE_PER_CPU()

[ Impact: code cleanup ]

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
arch/cris/include/asm/mmu_context.h
arch/cris/mm/fault.c