Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137953538
D39466.id120172.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D39466.id120172.diff
View Options
diff --git a/sys/powerpc/powermac/powermac_thermal.c b/sys/powerpc/powermac/powermac_thermal.c
--- a/sys/powerpc/powermac/powermac_thermal.c
+++ b/sys/powerpc/powermac/powermac_thermal.c
@@ -61,7 +61,7 @@
SYSINIT(pmac_therm_setup, SI_SUB_KTHREAD_IDLE, SI_ORDER_ANY, kproc_start,
&pmac_therm_kp);
-SYSCTL_INT(_machdep, OID_AUTO, manage_fans, CTLFLAG_RW | CTLFLAG_TUN,
+SYSCTL_INT(_machdep, OID_AUTO, manage_fans, CTLFLAG_RWTUN,
&enable_pmac_thermal, 1, "Enable automatic fan management");
static MALLOC_DEFINE(M_PMACTHERM, "pmactherm", "Powermac Thermal Management");
diff --git a/sys/powerpc/powerpc/platform.c b/sys/powerpc/powerpc/platform.c
--- a/sys/powerpc/powerpc/platform.c
+++ b/sys/powerpc/powerpc/platform.c
@@ -68,7 +68,7 @@
static struct platform_kobj plat_kernel_obj;
static char plat_name[64] = "";
-SYSCTL_STRING(_hw, OID_AUTO, platform, CTLFLAG_RD | CTLFLAG_TUN,
+SYSCTL_STRING(_hw, OID_AUTO, platform, CTLFLAG_RDTUN,
plat_name, 0, "Platform currently in use");
static struct mem_affinity mem_info[VM_PHYSSEG_MAX + 1];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 28, 3:45 PM (2 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26287413
Default Alt Text
D39466.id120172.diff (1 KB)
Attached To
Mode
D39466: Use macros CTLFLAG_R[DW]TUN
Attached
Detach File
Event Timeline
Log In to Comment