Thread (3 messages) flat view 3 messages, 2 authors, 2009-09-09

Re: [PATCH] powerpc/85xx: Fix SMP compile error and allow NULL for smp_ops

From: Kumar Gala <hidden>
Date: 2009-09-09 03:09:12

On Sep 8, 2009, at 4:31 PM, Benjamin Herrenschmidt wrote:
On Tue, 2009-09-08 at 14:21 -0500, Kumar Gala wrote:
quoted
struct smp_ops_t smp_85xx_ops = {
+	.message_pass = NULL,
+	.probe = NULL,
	.kick_cpu = smp_85xx_kick_cpu,
+	.setup_cpu = NULL,
};
Why explicitely setting those to NULL ?

Cheers,
Ben.
couldn't remember if we get NULL for initialized structs or not.

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help