Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148331288
D12931.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
D12931.diff
View Options
Index: head/sys/arm/allwinner/aw_mp.c
===================================================================
--- head/sys/arm/allwinner/aw_mp.c
+++ head/sys/arm/allwinner/aw_mp.c
@@ -83,13 +83,13 @@
#define CPUCFG_DBGCTL0 0x1e0
#define CPUCFG_DBGCTL1 0x1e4
-#define CPUS_CL_RST(cl) (0x30 + (cluster) * 0x4)
-#define CPUX_CL_CTRL0(cl) (0x0 + (cluster) * 0x10)
-#define CPUX_CL_CTRL1(cl) (0x4 + (cluster) * 0x10)
-#define CPUX_CL_CPU_STATUS(cl) (0x30 + (cluster) * 0x4)
-#define CPUX_CL_RST(cl) (0x80 + (cluster) * 0x4)
-#define PRCM_CL_PWROFF(cl) (0x100 + (cluster) * 0x4)
-#define PRCM_CL_PWR_CLAMP(cl, cpu) (0x140 + (cluster) * 0x4 + (cpu) * 0x4)
+#define CPUS_CL_RST(cl) (0x30 + (cl) * 0x4)
+#define CPUX_CL_CTRL0(cl) (0x0 + (cl) * 0x10)
+#define CPUX_CL_CTRL1(cl) (0x4 + (cl) * 0x10)
+#define CPUX_CL_CPU_STATUS(cl) (0x30 + (cl) * 0x4)
+#define CPUX_CL_RST(cl) (0x80 + (cl) * 0x4)
+#define PRCM_CL_PWROFF(cl) (0x100 + (cl) * 0x4)
+#define PRCM_CL_PWR_CLAMP(cl, cpu) (0x140 + (cl) * 0x4 + (cpu) * 0x4)
void
aw_mp_setmaxid(platform_t plat)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 18, 5:18 AM (11 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29882912
Default Alt Text
D12931.diff (1 KB)
Attached To
Mode
D12931: aw_mp.c: use argument name in macros
Attached
Detach File
Event Timeline
Log In to Comment