Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
target/riscv/pmu: Restrict 'qemu/log.h' include to source
Declarations from "riscv/pmu.h" don't need anything from "qemu/log.h",
reduce it's inclusion to the source.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-3-philmd@linaro.org>
  • Loading branch information
philmd committed Aug 31, 2023
1 parent e78d2f9 commit abaf3e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions target/riscv/pmu.c
Expand Up @@ -17,6 +17,7 @@
*/

#include "qemu/osdep.h"
#include "qemu/log.h"
#include "cpu.h"
#include "pmu.h"
#include "sysemu/cpu-timers.h"
Expand Down
1 change: 0 additions & 1 deletion target/riscv/pmu.h
Expand Up @@ -16,7 +16,6 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "qemu/log.h"
#include "cpu.h"
#include "qemu/main-loop.h"
#include "exec/exec-all.h"
Expand Down

0 comments on commit abaf3e5

Please sign in to comment.