diff options
author | Tom Rini <trini@ti.com> | 2012-11-28 13:44:40 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-11-28 13:44:40 -0700 |
commit | e57d9d15eeab923f6c0de05d7caad317d861bbc5 (patch) | |
tree | 4c48c08c983e1b50850cdc7206ed4fb796087bed /arch/x86/cpu/cpu.c | |
parent | a86fcff69519841aa1338efb1ace37ca77c16c35 (diff) | |
parent | d02a568e9aa3c3500d9b680f60782c192fd51691 (diff) |
Merge branch 'master' of git://www.denx.de/git/u-boot-x86
Diffstat (limited to 'arch/x86/cpu/cpu.c')
-rw-r--r-- | arch/x86/cpu/cpu.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index e9bb0d770a..9c2db9f21e 100644 --- a/arch/x86/cpu/cpu.c +++ b/arch/x86/cpu/cpu.c @@ -90,12 +90,6 @@ static void load_gdt(const u64 *boot_gdt, u16 num_entries) asm volatile("lgdtl %0\n" : : "m" (gdt)); } -void init_gd(gd_t *id, u64 *gdt_addr) -{ - id->gd_addr = (ulong)id; - setup_gdt(id, gdt_addr); -} - void setup_gdt(gd_t *id, u64 *gdt_addr) { /* CS: code, read/execute, 4 GB, base 0 */ |