Merge tag 'xfs-5.10-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[linux-2.6-microblaze.git] / tools / objtool / orc_dump.c
index fca46e0..5e6a953 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <unistd.h>
+#include <linux/objtool.h>
 #include <asm/orc_types.h>
 #include "objtool.h"
 #include "warn.h"
@@ -37,12 +38,12 @@ static const char *reg_name(unsigned int reg)
 static const char *orc_type_name(unsigned int type)
 {
        switch (type) {
-       case ORC_TYPE_CALL:
+       case UNWIND_HINT_TYPE_CALL:
                return "call";
-       case ORC_TYPE_REGS:
+       case UNWIND_HINT_TYPE_REGS:
                return "regs";
-       case ORC_TYPE_REGS_IRET:
-               return "iret";
+       case UNWIND_HINT_TYPE_REGS_PARTIAL:
+               return "regs (partial)";
        default:
                return "?";
        }