i386: Remove inline asm symbols from .dynsym
[oweals/u-boot.git] / cpu / i386 / cpu.c
index b9af5f89d532c11356b2f31f9bfe1a78e9604e98..4b681057a0e2c13a3cbd20069123d716cd7f212b 100644 (file)
@@ -46,6 +46,9 @@ int cpu_init(void)
             "orl  $0x22, %eax\n" \
             "movl %eax, %cr0\n" );
 
+       /* Initialize core interrupt and exception functionality of CPU */
+       cpu_init_interrupts ();
+
        return 0;
 }
 
@@ -70,6 +73,8 @@ void __attribute__ ((regparm(0))) generate_gpf(void);
 
 /* segment 0x70 is an arbitrary segment which does not exist */
 asm(".globl generate_gpf\n"
+    ".hidden generate_gpf\n"
+    ".type generate_gpf, @function\n"
     "generate_gpf:\n"
     "ljmp   $0x70, $0x47114711\n");