clockevents: Prevent clockevent_devices list corruption on cpu hotplug
[safe/jmp/linux-2.6] / kernel / kfifo.c
index 26539e3..3765ff3 100644 (file)
@@ -117,7 +117,7 @@ EXPORT_SYMBOL(kfifo_free);
  * writer, you don't need extra locking to use these functions.
  */
 unsigned int __kfifo_put(struct kfifo *fifo,
-                        unsigned char *buffer, unsigned int len)
+                       const unsigned char *buffer, unsigned int len)
 {
        unsigned int l;