Attention is currently required from: Nico Huber, Angel Pons, Anastasia Klimchuk.

Anastasia Klimchuk uploaded patch set #4 to this change.

View Change

tests: Guard sys/io.h the same as in hwaccess_x86_io.h

Inclusion of this header in hwaccess_x86_io.h is guarded by
`defined(__linux__) || defined(__GLIBC__)` , in addition to that
inclusion of hwaccess_x86_io.h into hwaccess.h is guarded by
IS_X86. Combining these two together, this patch adds the same
guards for unittest header file, so that test build don't break
on non-x86.

This is a follow up on commit 21e22ba8a7750f1cfe5cd3323e3137695ffef0a4
which introduced hwaccess_x86_io_unittest.h

BUG=b:181803212
TEST=builds and ninja test on x86

Change-Id: I3f2f0408be7c00f954b899031b52b2b97ef19ca3
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
---
M tests/hwaccess_x86_io_unittest.h
1 file changed, 11 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/41/55741/4

To view, visit change 55741. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I3f2f0408be7c00f954b899031b52b2b97ef19ca3
Gerrit-Change-Number: 55741
Gerrit-PatchSet: 4
Gerrit-Owner: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Nico Huber <nico.h@gmx.de>
Gerrit-Attention: Angel Pons <th3fanbus@gmail.com>
Gerrit-Attention: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-MessageType: newpatchset