Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109030
b: refs/heads/master
c: c674495
h: refs/heads/master
v: v3
  • Loading branch information
Samuel Sieb authored and Ingo Molnar committed Aug 20, 2008
1 parent 93519b3 commit 72a5649
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8a7c5ef3ba8cca8f9c4f91ddef3d081f517914ae
refs/heads/master: c6744955d0ec0cb485c28c51eeb7185e260f6172
18 changes: 0 additions & 18 deletions trunk/arch/x86/kernel/cpu/cyrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,23 +134,6 @@ static void __cpuinit set_cx86_memwb(void)
setCx86(CX86_CCR2, getCx86(CX86_CCR2) | 0x14);
}

static void __cpuinit set_cx86_inc(void)
{
unsigned char ccr3;

printk(KERN_INFO "Enable Incrementor on Cyrix/NSC processor.\n");

ccr3 = getCx86(CX86_CCR3);
setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10); /* enable MAPEN */
/* PCR1 -- Performance Control */
/* Incrementor on, whatever that is */
setCx86(CX86_PCR1, getCx86(CX86_PCR1) | 0x02);
/* PCR0 -- Performance Control */
/* Incrementor Margin 10 */
setCx86(CX86_PCR0, getCx86(CX86_PCR0) | 0x04);
setCx86(CX86_CCR3, ccr3); /* disable MAPEN */
}

/*
* Configure later MediaGX and/or Geode processor.
*/
Expand All @@ -174,7 +157,6 @@ static void __cpuinit geode_configure(void)

set_cx86_memwb();
set_cx86_reorder();
set_cx86_inc();

local_irq_restore(flags);
}
Expand Down

0 comments on commit 72a5649

Please sign in to comment.