소스 검색

x86_32: apic/numaq_32, fix section mismatch

Remove __cpuinitdata section placement for translation_table
structure, since it is referenced from a functions within .text.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: H. Peter Anvin <hpa@zytor.com>
Jiri Slaby 16 년 전
부모
커밋
b6122b3843
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      arch/x86/kernel/apic/numaq_32.c

+ 1 - 1
arch/x86/kernel/apic/numaq_32.c

@@ -69,7 +69,7 @@ struct mpc_trans {
 /* x86_quirks member */
 /* x86_quirks member */
 static int				mpc_record;
 static int				mpc_record;
 
 
-static __cpuinitdata struct mpc_trans	*translation_table[MAX_MPC_ENTRY];
+static struct mpc_trans			*translation_table[MAX_MPC_ENTRY];
 
 
 int					mp_bus_id_to_node[MAX_MP_BUSSES];
 int					mp_bus_id_to_node[MAX_MP_BUSSES];
 int					mp_bus_id_to_local[MAX_MP_BUSSES];
 int					mp_bus_id_to_local[MAX_MP_BUSSES];