aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorLv Zheng <[email protected]>2017-04-11 15:48:05 +0800
committerRafael J. Wysocki <[email protected]>2017-04-11 22:11:09 +0200
commit6895baa6a64fa9499e4d11696d59b3522c527ed0 (patch)
treec1ae8fde2408cf0e003c21c0e04ffff115dbf2c3 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent39da7c509acff13fc8cb12ec1bb20337c988ed36 (diff)
ACPICA: Add non-linux host build support
_LINUX: used to detect a target build is a linux kernel/application. __linux__: used to detect a build is on a linux hosts. Thus we can see: if a linux kernel build is performed on environments other than linux hosts, __linux__ may not be defined by the compiler and _LINUX cannot cover linux kernel resident ACPICA files, as it's only defined in <linux/acpi.h> and hence only allows non ACPICA kernel files to correctly include aclinux.h. As a conclusion, we don't actually support such build. This patch adds -D_LINUX for ACPICA files so that kernel builds on any hosts can use unified _LINUX as a linux kernel target indication to correctly include aclinux.h. Tested-by: Al Stone <[email protected]> Signed-off-by: Lv Zheng <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions