)]}'
{
  "commit": "5c09d295e0e4cd9c252fb2c8f7f71b0cbd3a7b4d",
  "tree": "36b7f585ae221dcdcbcdcdd7911b8a9e2a931453",
  "parents": [
    "fc3630b2a9d17c7bc7cfd03a15cf91d7fdd26355"
  ],
  "author": {
    "name": "Philippe Mathieu-Daudé",
    "email": "philmd@linaro.org",
    "time": "Fri Nov 22 19:17:24 2024 +0000"
  },
  "committer": {
    "name": "Philippe Mathieu-Daudé",
    "email": "philmd@linaro.org",
    "time": "Fri Dec 20 17:44:57 2024 +0100"
  },
  "message": "exec/cpu-all: Include \u0027cpu.h\u0027 earlier so MMU_USER_IDX is always defined\n\nInclude \"cpu.h\" earlier to get the MMU_USER_IDX definition soon\nenough and avoid when refactoring unrelated headers:\n\n  In file included from include/exec/translator.h:271,\n                   from ../../accel/tcg/translator.c:13:\n  include/exec/cpu-all.h: In function ‘cpu_mmu_index’:\n  include/exec/cpu-all.h:274:12: error: ‘MMU_USER_IDX’ undeclared (first use in this function)\n    274 |     return MMU_USER_IDX;\n        |            ^~~~~~~~~~~~\n  include/exec/cpu-all.h:274:12: note: each undeclared identifier is reported only once for each function it appears in\n  ninja: build stopped: subcommand failed.\n\nWe need to forward-declare cpu_mmu_index() to avoid on user emulation:\n\n  In file included from include/exec/cpu-all.h:263,\n                   from include/exec/translator.h:271,\n                   from ../../accel/tcg/translator.c:13:\n  ../../target/sparc/cpu.h: In function ‘cpu_get_tb_cpu_state’:\n  ../../target/sparc/cpu.h:757:13: error: implicit declaration of function ‘cpu_mmu_index’ [-Werror\u003dimplicit-function-declaration]\n    757 |     flags \u003d cpu_mmu_index(env_cpu(env), false);\n        |             ^~~~~~~~~~~~~\n\nSigned-off-by: Philippe Mathieu-Daudé \u003cphilmd@linaro.org\u003e\nReviewed-by: Richard Henderson \u003crichard.henderson@linaro.org\u003e\nMessage-Id: \u003c20241218155202.71931-5-philmd@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f7eea33b1013f8150b85a962dc03002bf413316b",
      "old_mode": 33188,
      "old_path": "include/exec/cpu-all.h",
      "new_id": "09f537d06faf08a09a865cfa335897886b1fca30",
      "new_mode": 33188,
      "new_path": "include/exec/cpu-all.h"
    }
  ]
}
