Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109527712
D48289.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
865 B
Referenced Files
None
Subscribers
None
D48289.diff
View Options
diff --git a/sys/arm64/apple/apple_aic.c b/sys/arm64/apple/apple_aic.c
--- a/sys/arm64/apple/apple_aic.c
+++ b/sys/arm64/apple/apple_aic.c
@@ -137,9 +137,9 @@
u_int sc_ndie;
#ifdef SMP
struct apple_aic_irqsrc sc_ipi_srcs[AIC_NIPIS];
- u_int *sc_cpuids; /* cpu index to AIC CPU ID */
uint32_t *sc_ipimasks;
#endif
+ u_int *sc_cpuids; /* cpu index to AIC CPU ID */
};
static u_int aic_next_cpu;
@@ -215,6 +215,7 @@
#ifdef SMP
sc->sc_ipimasks = malloc(sizeof(*sc->sc_ipimasks) * mp_maxid + 1,
M_DEVBUF, M_WAITOK | M_ZERO);
+#endif
sc->sc_cpuids = malloc(sizeof(*sc->sc_cpuids) * mp_maxid + 1,
M_DEVBUF, M_WAITOK | M_ZERO);
@@ -223,8 +224,6 @@
if (bootverbose)
device_printf(dev, "BSP CPU %d: whoami %x\n", cpu,
sc->sc_cpuids[cpu]);
-#endif
-
name = device_get_nameunit(dev);
for (i = 0; i < sc->sc_ndie; i++) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 7, 6:53 AM (21 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15685167
Default Alt Text
D48289.diff (865 B)
Attached To
Mode
D48289: arm64: apple: fix aic for !SMP configurations
Attached
Detach File
Event Timeline
Log In to Comment