]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/kernel.h
Merge branch 'sched/urgent' into sched/core
[mv-sheeva.git] / include / linux / kernel.h
index 328bca609b9bb3d7d7b1f828cdd285de297925e9..1221d2331a6dff1783f8cbe9caff2a2aed28d26b 100644 (file)
@@ -124,7 +124,7 @@ extern int _cond_resched(void);
 #endif
 
 #ifdef CONFIG_DEBUG_SPINLOCK_SLEEP
-  void __might_sleep(char *file, int line, int preempt_offset);
+  void __might_sleep(const char *file, int line, int preempt_offset);
 /**
  * might_sleep - annotation for functions that can sleep
  *
@@ -138,7 +138,8 @@ extern int _cond_resched(void);
 # define might_sleep() \
        do { __might_sleep(__FILE__, __LINE__, 0); might_resched(); } while (0)
 #else
-  static inline void __might_sleep(char *file, int line, int preempt_offset) { }
+  static inline void __might_sleep(const char *file, int line,
+                                  int preempt_offset) { }
 # define might_sleep() do { might_resched(); } while (0)
 #endif