tci: Fix broken build (regression)
commitb54c2873e731dd6fc81a4591cab909633b5a9eab
authorStefan Weil <sw@weilnetz.de>
Sat, 19 Jan 2013 19:23:51 +0000 (19 20:23 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 19 Jan 2013 20:01:57 +0000 (19 20:01 +0000)
treef9d435768d8d4f27f6bc1223ba5025c2d0da1b97
parentc36dd8a09fd8811ebcda453d80dc5f52402d691c
tci: Fix broken build (regression)

s390x-linux-user now also uses GETPC. Instead of adding it to the list of
targets which use GETPC, the macro is now defined unconditionally.

This avoids future build regressions like this one:

  CC    s390x-linux-user/target-s390x/int_helper.o
cc1: warnings being treated as errors
qemu/target-s390x/int_helper.c: In function ‘helper_divs32’:
qemu/target-s390x/int_helper.c:47: error: implicit declaration of function ‘GETPC’
qemu/target-s390x/int_helper.c:47: error: nested extern declaration of ‘GETPC’

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
include/exec/exec-all.h