linux-stable/drivers/hwtracing/intel_th
Joonsoo Kim 0139aa7b7f mm: rename _count, field of the struct page, to _refcount
Many developers already know that field for reference count of the
struct page is _count and atomic type.  They would try to handle it
directly and this could break the purpose of page reference count
tracepoint.  To prevent direct _count modification, this patch rename it
to _refcount and add warning message on the code.  After that, developer
who need to handle reference count will find that field should not be
accessed directly.

[akpm@linux-foundation.org: fix comments, per Vlastimil]
[akpm@linux-foundation.org: Documentation/vm/transhuge.txt too]
[sfr@canb.auug.org.au: sync ethernet driver changes]
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Sunil Goutham <sgoutham@cavium.com>
Cc: Chris Metcalf <cmetcalf@mellanox.com>
Cc: Manish Chopra <manish.chopra@qlogic.com>
Cc: Yuval Mintz <yuval.mintz@qlogic.com>
Cc: Tariq Toukan <tariqt@mellanox.com>
Cc: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-05-19 19:12:14 -07:00
..
core.c intel_th: Use real device index in the node names 2016-02-20 14:09:14 -08:00
debug.c
debug.h
gth.c intel_th: Update scratchpad bits according to enabled output activity 2016-02-20 14:09:14 -08:00
gth.h intel_th: Update scratchpad bits according to enabled output activity 2016-02-20 14:09:14 -08:00
intel_th.h intel_th: Update scratchpad bits according to enabled output activity 2016-02-20 14:09:14 -08:00
Kconfig intel_th: Depend on HAS_IOMEM 2016-02-20 14:09:14 -08:00
Makefile intel_th: Add PTI output driver 2015-10-04 20:28:58 +01:00
msu.c mm: rename _count, field of the struct page, to _refcount 2016-05-19 19:12:14 -07:00
msu.h intel_th: Add Memory Storage Unit driver 2015-10-04 20:28:58 +01:00
pci.c intel_th: Set root device's drvdata early 2016-02-20 14:09:14 -08:00
pti.c intel_th: Check for NULL instead of ERR_PTR 2015-10-16 23:25:48 -07:00
pti.h intel_th: Add PTI output driver 2015-10-04 20:28:58 +01:00
sth.c intel_th: sth: Sanitize packet callback's return values 2016-02-20 14:09:14 -08:00
sth.h intel_th: Add Software Trace Hub driver 2015-10-04 20:28:58 +01:00