diff options
Diffstat (limited to 'include/linux/kernel.h')
| -rw-r--r-- | include/linux/kernel.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 94bc99656963..ff356b2ee478 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
| @@ -105,8 +105,8 @@ struct user; | |||
| 105 | * supposed to. | 105 | * supposed to. |
| 106 | */ | 106 | */ |
| 107 | #ifdef CONFIG_PREEMPT_VOLUNTARY | 107 | #ifdef CONFIG_PREEMPT_VOLUNTARY |
| 108 | extern int cond_resched(void); | 108 | extern int _cond_resched(void); |
| 109 | # define might_resched() cond_resched() | 109 | # define might_resched() _cond_resched() |
| 110 | #else | 110 | #else |
| 111 | # define might_resched() do { } while (0) | 111 | # define might_resched() do { } while (0) |
| 112 | #endif | 112 | #endif |
| @@ -194,6 +194,9 @@ static inline int log_buf_read(int idx) { return 0; } | |||
| 194 | static inline int log_buf_copy(char *dest, int idx, int len) { return 0; } | 194 | static inline int log_buf_copy(char *dest, int idx, int len) { return 0; } |
| 195 | #endif | 195 | #endif |
| 196 | 196 | ||
| 197 | extern void __attribute__((format(printf, 1, 2))) | ||
| 198 | early_printk(const char *fmt, ...); | ||
| 199 | |||
| 197 | unsigned long int_sqrt(unsigned long); | 200 | unsigned long int_sqrt(unsigned long); |
| 198 | 201 | ||
| 199 | extern int printk_ratelimit(void); | 202 | extern int printk_ratelimit(void); |
