Browse Source

parisc: Enable UBSAN support

Signed-off-by: Helge Deller <deller@gmx.de>
Helge Deller 8 years ago
parent
commit
e35a2ce692
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/parisc/Kconfig

+ 2 - 0
arch/parisc/Kconfig

@@ -9,6 +9,8 @@ config PARISC
 	select ARCH_WANT_FRAME_POINTERS
 	select ARCH_HAS_ELF_RANDOMIZE
 	select ARCH_HAS_STRICT_KERNEL_RWX
+	select ARCH_HAS_UBSAN_SANITIZE_ALL
+	select ARCH_WANTS_UBSAN_NO_NULL
 	select ARCH_SUPPORTS_MEMORY_FAILURE
 	select RTC_CLASS
 	select RTC_DRV_GENERIC