diff options
| author | Michael Ellerman <[email protected]> | 2022-12-08 12:57:47 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-12-08 12:57:47 +0000 |
| commit | f24f21c4122e837fa031cc512a7f20eb8c554c5e (patch) | |
| tree | b19acb396850fbfb36218329659b926446c24914 /arch/powerpc/include/asm/bug.h | |
| parent | powerpc/prom: Fix 32-bit build (diff) | |
| parent | objtool/powerpc: Implement arch_pc_relative_reloc() (diff) | |
| download | kernel-f24f21c4122e837fa031cc512a7f20eb8c554c5e.tar.gz kernel-f24f21c4122e837fa031cc512a7f20eb8c554c5e.zip | |
Merge branch 'topic/objtool' into next
Merge the powerpc objtool support, which we were keeping in a topic
branch in case of any merge conflicts.
Diffstat (limited to 'arch/powerpc/include/asm/bug.h')
| -rw-r--r-- | arch/powerpc/include/asm/bug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/bug.h b/arch/powerpc/include/asm/bug.h index 61a4736355c2..ef42adb44aa3 100644 --- a/arch/powerpc/include/asm/bug.h +++ b/arch/powerpc/include/asm/bug.h @@ -99,7 +99,8 @@ __label__ __label_warn_on; \ \ WARN_ENTRY("twi 31, 0, 0", BUGFLAG_WARNING | (flags), __label_warn_on); \ - unreachable(); \ + barrier_before_unreachable(); \ + __builtin_unreachable(); \ \ __label_warn_on: \ break; \ |
