diff options
author | 2013-01-09 18:49:51 +0100 | |
---|---|---|
committer | 2013-01-12 18:49:25 +0100 | |
commit | 171c4006fb1b42a084057a71c86776e9f1b8e62c (patch) | |
tree | 84ea088530fdda5322b144ccfbf32b9502fcf737 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging (diff) | |
download | linux-dev-171c4006fb1b42a084057a71c86776e9f1b8e62c.tar.xz linux-dev-171c4006fb1b42a084057a71c86776e9f1b8e62c.zip |
s390/mm: fix pmd_pfn() for thp
The pfn calculation in pmd_pfn() is broken for thp, because it uses
HPAGE_SHIFT instead of the normal PAGE_SHIFT. This is fixed by removing
the distinction between thp and normal pmds in that function, and always
using PAGE_SHIFT.
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions