git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: convert totalram_pages and totalhigh_pages variables to atomic
[sfrench/cifs-2.6.git]
/
mm
/
highmem.c
diff --git
a/mm/highmem.c
b/mm/highmem.c
index 59db3223a5d62a9ea26f506ed3fd9fe6d54d2cf2..107b10f9878ef73bb936721728d28b39612884bd 100644
(file)
--- a/
mm/highmem.c
+++ b/
mm/highmem.c
@@
-105,9
+105,8
@@
static inline wait_queue_head_t *get_pkmap_wait_queue_head(unsigned int color)
}
#endif
-unsigned long totalhigh_pages __read_mostly;
-EXPORT_SYMBOL(totalhigh_pages);
-
+atomic_long_t _totalhigh_pages __read_mostly;
+EXPORT_SYMBOL(_totalhigh_pages);
EXPORT_PER_CPU_SYMBOL(__kmap_atomic_idx);