Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa/include Don't expose kernel structs to userland.
details: https://anonhg.NetBSD.org/src/rev/9fd30a67271a
branches: trunk
changeset: 343230:9fd30a67271a
user: christos <christos%NetBSD.org@localhost>
date: Mon Jan 25 18:14:40 2016 +0000
description:
Don't expose kernel structs to userland.
diffstat:
sys/arch/hppa/include/cpu.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 6f6dddb58a10 -r 9fd30a67271a sys/arch/hppa/include/cpu.h
--- a/sys/arch/hppa/include/cpu.h Mon Jan 25 18:14:04 2016 +0000
+++ b/sys/arch/hppa/include/cpu.h Mon Jan 25 18:14:40 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.2 2014/03/06 19:02:58 skrll Exp $ */
+/* $NetBSD: cpu.h,v 1.3 2016/01/25 18:14:40 christos Exp $ */
/* $OpenBSD: cpu.h,v 1.55 2008/07/23 17:39:35 kettenis Exp $ */
@@ -86,6 +86,7 @@
mako /* PA8800 (mako) PA 2.0 */
};
+#ifdef _KERNEL
/*
* A CPU description.
*/
@@ -116,7 +117,6 @@
int (*hptinit)(vaddr_t, vsize_t);
};
-#ifdef _KERNEL
extern const struct hppa_cpu_info *hppa_cpu_info;
extern int cpu_modelno;
extern int cpu_revision;
Home |
Main Index |
Thread Index |
Old Index