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)
commitfe87f94f341a4b4097285b46f003059b26eb59bf
tree9b64106a0d829b4518b974600f4abef04e3f9a2f
parent405d967dc70002991f8fc35c20e0d3cbc7614f63
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