diff options
author | 2015-11-16 17:32:15 +0100 | |
---|---|---|
committer | 2015-11-17 13:24:36 +0000 | |
commit | adc235aff6fcf5ae4d8dc00faf30a07632b9725b (patch) | |
tree | 9ef21af2f84031f7897e5825fb847bb4217c3d34 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: simplify dma_get_ops (diff) | |
download | linux-dev-adc235aff6fcf5ae4d8dc00faf30a07632b9725b.tar.xz linux-dev-adc235aff6fcf5ae4d8dc00faf30a07632b9725b.zip |
arm64: do not include ptrace.h from compat.h
including ptrace.h brings a definition of BITS_PER_PAGE into device
drivers and cause a build warning in allmodconfig builds:
drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined
#define BITS_PER_PAGE (1UL << (PAGE_SHIFT + 3))
This uses a slightly different way to express current_pt_regs()
that avoids the use of the header and gets away with the already
included asm/ptrace.h.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions