Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88738
b: refs/heads/master
c: d507897
h: refs/heads/master
v: v3
  • Loading branch information
Glauber Costa authored and Ingo Molnar committed Apr 17, 2008
1 parent dfe01fa commit 2ec63f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 420688293927a590d092ec76ef97c2565ae21aff
refs/heads/master: d507897b2f179a9b30ce2f91b768ed2ee84575bc
8 changes: 4 additions & 4 deletions trunk/arch/x86/mach-voyager/voyager_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static int cpucount = 0;
/* steal a page from the bottom of memory for the trampoline and
* squirrel its address away here. This will be in kernel virtual
* space */
static __u32 trampoline_base;
unsigned char *trampoline_base;

/* The per cpu profile stuff - used in smp_local_timer_interrupt */
static DEFINE_PER_CPU(int, prof_multiplier) = 1;
Expand Down Expand Up @@ -435,9 +435,9 @@ static __u32 __init setup_trampoline(void)
extern const __u8 trampoline_end[];
extern const __u8 trampoline_data[];

memcpy((__u8 *) trampoline_base, trampoline_data,
memcpy(trampoline_base, trampoline_data,
trampoline_end - trampoline_data);
return virt_to_phys((__u8 *) trampoline_base);
return virt_to_phys(trampoline_base);
}

/* Routine initially called when a non-boot CPU is brought online */
Expand Down Expand Up @@ -1166,7 +1166,7 @@ void flush_tlb_all(void)
* is sorted out */
void __init smp_alloc_memory(void)
{
trampoline_base = (__u32) alloc_bootmem_low_pages(PAGE_SIZE);
trampoline_base = alloc_bootmem_low_pages(PAGE_SIZE);
if (__pa(trampoline_base) >= 0x93000)
BUG();
}
Expand Down

0 comments on commit 2ec63f3

Please sign in to comment.