Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365435
b: refs/heads/master
c: f1cb087
h: refs/heads/master
i:
  365433: 57cfc7f
  365431: 868bd4a
v: v3
  • Loading branch information
Yijing Wang authored and Linus Torvalds committed Apr 29, 2013
1 parent e4a7676 commit ef290d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 573b400d01b3411c2436e73d8e63fc1186b94535
refs/heads/master: f1cb08798e2497238b28f377bd131426f0b9835d
7 changes: 1 addition & 6 deletions trunk/include/linux/vmstat.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,8 @@ static inline void count_vm_events(enum vm_event_item item, long delta)
}

extern void all_vm_events(unsigned long *);
#ifdef CONFIG_HOTPLUG

extern void vm_events_fold_cpu(int cpu);
#else
static inline void vm_events_fold_cpu(int cpu)
{
}
#endif

#else

Expand Down
2 changes: 0 additions & 2 deletions trunk/mm/vmstat.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ void all_vm_events(unsigned long *ret)
}
EXPORT_SYMBOL_GPL(all_vm_events);

#ifdef CONFIG_HOTPLUG
/*
* Fold the foreign cpu events into our own.
*
Expand All @@ -69,7 +68,6 @@ void vm_events_fold_cpu(int cpu)
fold_state->event[i] = 0;
}
}
#endif /* CONFIG_HOTPLUG */

#endif /* CONFIG_VM_EVENT_COUNTERS */

Expand Down

0 comments on commit ef290d1

Please sign in to comment.