Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/include linux: Use sys/cpu.h, not mach...
details: https://anonhg.NetBSD.org/src/rev/423c26cafe89
branches: trunk
changeset: 1028729:423c26cafe89
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:52:47 2021 +0000
description:
linux: Use sys/cpu.h, not machine/cpu.h.
diffstat:
sys/external/bsd/drm2/include/asm/cpufeature.h | 4 ++--
sys/external/bsd/drm2/include/linux/cpufreq.h | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r b8c3cd7f023f -r 423c26cafe89 sys/external/bsd/drm2/include/asm/cpufeature.h
--- a/sys/external/bsd/drm2/include/asm/cpufeature.h Sun Dec 19 11:52:38 2021 +0000
+++ b/sys/external/bsd/drm2/include/asm/cpufeature.h Sun Dec 19 11:52:47 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufeature.h,v 1.8 2021/12/19 11:33:49 riastradh Exp $ */
+/* $NetBSD: cpufeature.h,v 1.9 2021/12/19 11:52:47 riastradh Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#ifndef _LINUX_ASM_CPUFEATURE_H_
#define _LINUX_ASM_CPUFEATURE_H_
-#include <machine/cpu.h>
+#include <sys/cpu.h>
#if defined(__i386__) || defined(__x86_64__)
diff -r b8c3cd7f023f -r 423c26cafe89 sys/external/bsd/drm2/include/linux/cpufreq.h
--- a/sys/external/bsd/drm2/include/linux/cpufreq.h Sun Dec 19 11:52:38 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/cpufreq.h Sun Dec 19 11:52:47 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufreq.h,v 1.3 2021/12/19 11:46:30 riastradh Exp $ */
+/* $NetBSD: cpufreq.h,v 1.4 2021/12/19 11:52:47 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -32,9 +32,10 @@
#ifndef _LINUX_CPUFREQ_H_
#define _LINUX_CPUFREQ_H_
+#include <sys/cpu.h>
#include <sys/cpufreq.h>
#include <sys/kmem.h>
-#include <machine/cpu.h>
+
#include <machine/cpu_counter.h>
struct cpufreq_policy {
Home |
Main Index |
Thread Index |
Old Index