mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
mm: remove initialization of static per-cpu variables
This was required by some old, no-longer-used gcc on sparc. Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
27ac792ca0
commit
f84f9504bd
1 changed files with 4 additions and 4 deletions
|
@ -34,9 +34,9 @@
|
||||||
/* How many pages do we try to swap or page in/out together? */
|
/* How many pages do we try to swap or page in/out together? */
|
||||||
int page_cluster;
|
int page_cluster;
|
||||||
|
|
||||||
static DEFINE_PER_CPU(struct pagevec, lru_add_pvecs) = { 0, };
|
static DEFINE_PER_CPU(struct pagevec, lru_add_pvecs);
|
||||||
static DEFINE_PER_CPU(struct pagevec, lru_add_active_pvecs) = { 0, };
|
static DEFINE_PER_CPU(struct pagevec, lru_add_active_pvecs);
|
||||||
static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs) = { 0, };
|
static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This path almost never happens for VM activity - pages are normally
|
* This path almost never happens for VM activity - pages are normally
|
||||||
|
@ -493,7 +493,7 @@ EXPORT_SYMBOL(pagevec_lookup_tag);
|
||||||
*/
|
*/
|
||||||
#define ACCT_THRESHOLD max(16, NR_CPUS * 2)
|
#define ACCT_THRESHOLD max(16, NR_CPUS * 2)
|
||||||
|
|
||||||
static DEFINE_PER_CPU(long, committed_space) = 0;
|
static DEFINE_PER_CPU(long, committed_space);
|
||||||
|
|
||||||
void vm_acct_memory(long pages)
|
void vm_acct_memory(long pages)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue