diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index e09f0e2c14b5..e020b2d03b4f 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -247,7 +247,7 @@ EXPORT_SYMBOL(edd); | |||
247 | * from boot_params into a safe place. | 247 | * from boot_params into a safe place. |
248 | * | 248 | * |
249 | */ | 249 | */ |
250 | static inline void copy_edd(void) | 250 | static inline void __init copy_edd(void) |
251 | { | 251 | { |
252 | memcpy(edd.mbr_signature, boot_params.edd_mbr_sig_buffer, | 252 | memcpy(edd.mbr_signature, boot_params.edd_mbr_sig_buffer, |
253 | sizeof(edd.mbr_signature)); | 253 | sizeof(edd.mbr_signature)); |
@@ -256,7 +256,7 @@ static inline void copy_edd(void) | |||
256 | edd.edd_info_nr = boot_params.eddbuf_entries; | 256 | edd.edd_info_nr = boot_params.eddbuf_entries; |
257 | } | 257 | } |
258 | #else | 258 | #else |
259 | static inline void copy_edd(void) | 259 | static inline void __init copy_edd(void) |
260 | { | 260 | { |
261 | } | 261 | } |
262 | #endif | 262 | #endif |