aboutsummaryrefslogtreecommitdiff
path: root/include/exec/poison.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-06-14 21:21:51 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-06-15 11:18:39 +0200
commit067b913619ac36299be5ab23921fd19a0347df60 (patch)
tree783b31d4f32d750123b3fd167b7c6d404e155785 /include/exec/poison.h
parente947738e3840025704e6d037aec4c341c8008994 (diff)
include/exec/poison: Mark some CONFIG defines as poisoned, too
These are defined in config-target.h and thus should never be used in common code. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1497468113-2874-3-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/poison.h')
-rw-r--r--include/exec/poison.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/exec/poison.h b/include/exec/poison.h
index 9356d5fff3..5ffed4d56e 100644
--- a/include/exec/poison.h
+++ b/include/exec/poison.h
@@ -61,5 +61,25 @@
#pragma GCC poison CPU_INTERRUPT_TGT_INT_1
#pragma GCC poison CPU_INTERRUPT_TGT_INT_2
+#pragma GCC poison CONFIG_ALPHA_DIS
+#pragma GCC poison CONFIG_ARM_A64_DIS
+#pragma GCC poison CONFIG_ARM_DIS
+#pragma GCC poison CONFIG_CRIS_DIS
+#pragma GCC poison CONFIG_I386_DIS
+#pragma GCC poison CONFIG_LM32_DIS
+#pragma GCC poison CONFIG_M68K_DIS
+#pragma GCC poison CONFIG_MICROBLAZE_DIS
+#pragma GCC poison CONFIG_MIPS_DIS
+#pragma GCC poison CONFIG_MOXIE_DIS
+#pragma GCC poison CONFIG_NIOS2_DIS
+#pragma GCC poison CONFIG_PPC_DIS
+#pragma GCC poison CONFIG_S390_DIS
+#pragma GCC poison CONFIG_SH4_DIS
+#pragma GCC poison CONFIG_SPARC_DIS
+#pragma GCC poison CONFIG_XTENSA_DIS
+
+#pragma GCC poison CONFIG_LINUX_USER
+#pragma GCC poison CONFIG_VHOST_NET
+
#endif
#endif