diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-01-21 20:18:24 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-21 22:39:41 -0500 |
commit | 0ec160dd48b666ddef39d639323d0da26d0b710d (patch) | |
tree | 545841f7e8c7b9ac7ce932ea7d0d830f400185c3 /kernel/hrtimer.c | |
parent | a5569a565f7315fe7241cf963f2cc74e53871e11 (diff) |
hrtimer: fix section mismatch
Fix section mismatch in hrtimer.c:
WARNING: vmlinux.o(.text+0x50c61): Section mismatch: reference to .init.text: (between 'hrtimer_cpu_notify' and 'down_read_trylock')
Noticed by Johannes Berg and confirmed by Sam Ravnborg.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@akpm@linux-foundation.org>
Diffstat (limited to 'kernel/hrtimer.c')
-rw-r--r-- | kernel/hrtimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index e65dd0b47cdc..f994bb8065e6 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
@@ -1378,7 +1378,7 @@ sys_nanosleep(struct timespec __user *rqtp, struct timespec __user *rmtp) | |||
1378 | /* | 1378 | /* |
1379 | * Functions related to boot-time initialization: | 1379 | * Functions related to boot-time initialization: |
1380 | */ | 1380 | */ |
1381 | static void __devinit init_hrtimers_cpu(int cpu) | 1381 | static void __cpuinit init_hrtimers_cpu(int cpu) |
1382 | { | 1382 | { |
1383 | struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu); | 1383 | struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu); |
1384 | int i; | 1384 | int i; |