From 218429626fdc960a4c443a279c0cebd8d18169c9 Mon Sep 17 00:00:00 2001 From: Michael Ellerman Date: Thu, 30 Jun 2005 15:08:56 +1000 Subject: [PATCH] --- yaml --- r: 4023 b: refs/heads/master c: 0f6014b37e25e50724867c0a4127615427ec2a75 h: refs/heads/master i: 4021: f3371f611b4af34f6db586f6fa0f1c1a960eefc2 4019: 759105d615cd14715e3ca23436f63ba9a269b86f 4015: d1628a200883352c4f88143276ab3dc006cb026a v: v3 --- [refs] | 2 +- trunk/arch/ppc64/kernel/ItLpQueue.c | 4 ++-- trunk/include/asm-ppc64/iSeries/ItLpQueue.h | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 683823c0d960..fe117d0f650a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7b01328d455b50ff040d3a06b342ca370b1d8b0a +refs/heads/master: 0f6014b37e25e50724867c0a4127615427ec2a75 diff --git a/trunk/arch/ppc64/kernel/ItLpQueue.c b/trunk/arch/ppc64/kernel/ItLpQueue.c index 11cd31dfcef8..ac0b05a6e067 100644 --- a/trunk/arch/ppc64/kernel/ItLpQueue.c +++ b/trunk/arch/ppc64/kernel/ItLpQueue.c @@ -62,7 +62,7 @@ static __inline__ void clear_inUse(void) extern LpEventHandler lpEventHandler[HvLpEvent_Type_NumTypes]; unsigned long ItLpQueueInProcess = 0; -struct HvLpEvent * ItLpQueue_getNextLpEvent(void) +static struct HvLpEvent * ItLpQueue_getNextLpEvent(void) { struct HvLpEvent * nextLpEvent = (struct HvLpEvent *)xItLpQueue.xSlicCurEventPtr; @@ -97,7 +97,7 @@ int ItLpQueue_isLpIntPending(void) return next_event->xFlags.xValid | xItLpQueue.xPlicOverflowIntPending; } -void ItLpQueue_clearValid( struct HvLpEvent * event ) +static void ItLpQueue_clearValid( struct HvLpEvent * event ) { /* Clear the valid bit of the event * Also clear bits within this event that might diff --git a/trunk/include/asm-ppc64/iSeries/ItLpQueue.h b/trunk/include/asm-ppc64/iSeries/ItLpQueue.h index de90feedbe12..be1cb7f3f884 100644 --- a/trunk/include/asm-ppc64/iSeries/ItLpQueue.h +++ b/trunk/include/asm-ppc64/iSeries/ItLpQueue.h @@ -76,10 +76,8 @@ struct ItLpQueue { extern struct ItLpQueue xItLpQueue; -extern struct HvLpEvent *ItLpQueue_getNextLpEvent(void); extern int ItLpQueue_isLpIntPending(void); extern unsigned ItLpQueue_process(struct pt_regs *); -extern void ItLpQueue_clearValid(struct HvLpEvent *); extern void setup_hvlpevent_queue(void); #endif /* _ITLPQUEUE_H */