Sam Ravnborg
dec2e6b7aa
x86_64: fix section mismatch warning in init.c
...
Fix following warning:
WARNING: vmlinux.o(.text+0x188ea): Section mismatch: reference to .init.text:__alloc_bootmem_core (between 'alloc_bootmem_high_node' and 'get_gate_vma')
alloc_bootmem_high_node() is only used from __init scope so declare it __init.
And in addition declare the weak variant __init too.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-22 11:03:38 -07:00
..
2007-07-17 10:23:02 -07:00
2007-07-16 09:05:52 -07:00
2006-12-07 08:39:44 -08:00
2007-03-27 08:52:47 +02:00
2006-12-08 08:28:43 -08:00
2007-07-19 10:04:41 -07:00
2007-07-19 10:04:44 -07:00
2006-10-04 03:38:54 -04:00
2007-07-19 10:04:41 -07:00
2007-07-17 10:22:59 -07:00
2007-07-19 10:04:50 -07:00
2007-05-07 12:12:53 -07:00
2007-07-17 10:23:02 -07:00
2007-07-16 09:05:36 -07:00
2007-07-17 10:23:02 -07:00
2007-06-01 08:18:29 -07:00
2007-07-21 17:49:16 -07:00
2007-07-20 10:11:58 +09:00
2007-07-17 10:23:02 -07:00
2007-07-17 10:22:59 -07:00
2007-02-15 09:57:03 -08:00
2007-07-16 09:05:37 -07:00
2007-07-19 10:04:45 -07:00
2006-12-07 08:39:44 -08:00
2007-07-19 10:04:45 -07:00
2007-07-19 10:04:45 -07:00
2007-05-21 09:18:19 -07:00
2007-07-21 17:49:14 -07:00
2007-05-07 12:12:55 -07:00
2007-07-20 08:44:19 -07:00
2006-12-07 08:39:27 -08:00
2007-07-19 10:04:52 -07:00
2007-07-17 10:23:02 -07:00
2005-04-16 15:20:36 -07:00
2007-05-07 12:12:54 -07:00
2007-07-19 10:04:44 -07:00
2007-07-20 10:11:58 +09:00
2006-10-11 11:14:23 -07:00
2007-07-20 10:11:58 +09:00
2007-07-20 10:11:58 +09:00
2007-07-21 17:49:16 -07:00
2007-07-20 10:11:58 +09:00
2007-07-22 11:03:38 -07:00
2007-07-17 10:22:59 -07:00
2007-05-09 12:30:56 -07:00
2007-07-16 09:05:35 -07:00
2007-05-11 08:29:32 -07:00
2007-03-01 14:53:35 -08:00
2007-07-19 10:04:41 -07:00
2007-07-18 08:47:39 -07:00
2007-07-19 10:04:52 -07:00
2007-07-17 10:23:02 -07:00
2007-07-17 10:22:59 -07:00