Messages in this thread | | | Date | Thu, 22 Apr 2004 02:31:18 +0530 | From | Dipankar Sarma <> | Subject | Re: [PATCH] s390 (9/9): no timer interrupts in idle. |
| |
On Wed, Apr 21, 2004 at 09:46:05PM +0100, Christoph Hellwig wrote: > On Thu, Apr 22, 2004 at 02:13:04AM +0530, Dipankar Sarma wrote: > > I think CPU_MASK_NONE can be used only for assignments. You need > > to actually declare a generic idle_cpu_mask and set it to CPU_MASK_NONE > > for all other archs. Of course, then the compiler will not be able > > to optimize it out :) > > Well, there's a const keyword in C these days, no?
OK, then I missed what optimization you were talking about or underestimated gcc. Can gcc do inter-procedural constant propagation ?
Thanks Dipankar - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |