Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114616
b: refs/heads/master
c: 9dc2d44
h: refs/heads/master
v: v3
  • Loading branch information
Milton Miller authored and Benjamin Herrenschmidt committed Oct 13, 2008
1 parent a4fb564 commit 296f7f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 0641cc91b08937578263589feb15182b9ad2b0fc
refs/heads/master: 9dc2d44113d1521d8ead8e89e0772c0957b093c2
11 changes: 5 additions & 6 deletions trunk/arch/powerpc/platforms/pseries/xics.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ static inline unsigned int direct_xirr_info_get(void)
return in_be32(&xics_per_cpu[cpu]->xirr.word);
}

static inline void direct_xirr_info_set(int value)
static inline void direct_xirr_info_set(unsigned int value)
{
int cpu = smp_processor_id();

Expand Down Expand Up @@ -120,15 +120,14 @@ static inline unsigned int lpar_xirr_info_get(void)
return (unsigned int)return_value;
}

static inline void lpar_xirr_info_set(int value)
static inline void lpar_xirr_info_set(unsigned int value)
{
unsigned long lpar_rc;
unsigned long val64 = value & 0xffffffff;

lpar_rc = plpar_eoi(val64);
lpar_rc = plpar_eoi(value);
if (lpar_rc != H_SUCCESS)
panic("bad return code EOI - rc = %ld, value=%lx\n", lpar_rc,
val64);
panic("bad return code EOI - rc = %ld, value=%x\n", lpar_rc,
value);
}

static inline void lpar_cppr_info(u8 value)
Expand Down

0 comments on commit 296f7f2

Please sign in to comment.