summaryrefslogtreecommitdiffstats
path: root/arch/cris/mm
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2009-06-24 15:13:41 +0900
committerTejun Heo <tj@kernel.org>2009-06-24 15:13:41 +0900
commitfe87f94f341a4b4097285b46f003059b26eb59bf (patch)
tree9b64106a0d829b4518b974600f4abef04e3f9a2f /arch/cris/mm
parent405d967dc70002991f8fc35c20e0d3cbc7614f63 (diff)
downloadop-kernel-dev-fe87f94f341a4b4097285b46f003059b26eb59bf.zip
op-kernel-dev-fe87f94f341a4b4097285b46f003059b26eb59bf.tar.gz
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>
Diffstat (limited to 'arch/cris/mm')
-rw-r--r--arch/cris/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/cris/mm/fault.c b/arch/cris/mm/fault.c
index f925115..4a7cdd9 100644
--- a/arch/cris/mm/fault.c
+++ b/arch/cris/mm/fault.c
@@ -29,7 +29,7 @@ extern void die_if_kernel(const char *, struct pt_regs *, long);
/* current active page directory */
-volatile DEFINE_PER_CPU(pgd_t *,current_pgd);
+DEFINE_PER_CPU(pgd_t *, current_pgd);
unsigned long cris_signal_return_page;
/*
OpenPOWER on IntegriCloud