]> git.proxmox.com Git - mirror_qemu.git/commit - target/s390x/cpu.h
target/s390x: Remove leading underscores from #defines
authorThomas Huth <thuth@redhat.com>
Mon, 5 Mar 2018 05:16:58 +0000 (06:16 +0100)
committerCornelia Huck <cohuck@redhat.com>
Thu, 8 Mar 2018 14:49:23 +0000 (15:49 +0100)
commitadab99be663afc196c027ded2cefb0b931d8c19e
tree8f79497d06fa786b5ad466df108b44c70a9ced90
parent5600086976d62e89afbe3ec39915baab0bcca54f
target/s390x: Remove leading underscores from #defines

We should not use leading underscores followed by a capital letter
in #defines since such identifiers are reserved by the C standard.

For ASCE_ORIGIN, REGION_ENTRY_ORIGIN and SEGMENT_ENTRY_ORIGIN I also
added parentheses around the value to silence an error message from
checkpatch.pl.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1520227018-4061-1-git-send-email-thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu.h
target/s390x/mem_helper.c
target/s390x/mmu_helper.c