Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70986
b: refs/heads/master
c: fb7ae26
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Thomas Gleixner committed Oct 17, 2007
1 parent ca8b042 commit 55696b7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 27 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: c8f2518e390638abc8255616a40b4a28caa66a95
refs/heads/master: fb7ae26df0b1218b39049b659064d57b58616c94
32 changes: 6 additions & 26 deletions trunk/arch/x86/mach-es7000/es7000plat.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
* ES7000 Globals
*/

volatile unsigned long *psai = NULL;
struct mip_reg *mip_reg;
struct mip_reg *host_reg;
int mip_port;
unsigned long mip_addr, host_addr;
static volatile unsigned long *psai = NULL;
static struct mip_reg *mip_reg;
static struct mip_reg *host_reg;
static int mip_port;
static unsigned long mip_addr, host_addr;

/*
* GSI override for ES7000 platforms.
Expand Down Expand Up @@ -288,28 +288,8 @@ es7000_start_cpu(int cpu, unsigned long eip)

}

int
es7000_stop_cpu(int cpu)
{
int startup;

if (psai == NULL)
return -1;

startup= (0x1000000 | cpu);

while ((*psai & 0xff00ffff) != startup)
;

startup = (*psai & 0xff0000) >> 16;
*psai &= 0xffffff;

return 0;

}

void __init
es7000_sw_apic()
es7000_sw_apic(void)
{
if (es7000_plat) {
int mip_status;
Expand Down

0 comments on commit 55696b7

Please sign in to comment.