diff options
Diffstat (limited to 'arch/x86/machine/cpu_asm.S')
-rw-r--r-- | arch/x86/machine/cpu_asm.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/x86/machine/cpu_asm.S b/arch/x86/machine/cpu_asm.S index 0917b821..56e8e2fb 100644 --- a/arch/x86/machine/cpu_asm.S +++ b/arch/x86/machine/cpu_asm.S @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2012 Richard Braun. + * Copyright (c) 2011-2014 Richard Braun. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -15,10 +15,11 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <kern/init.h> #include <machine/asm.h> #include <machine/cpu.h> -.text +.section INIT_SECTION ASM_ENTRY(cpu_load_gdt) #ifdef __LP64__ |