aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/kernel/ItLpQueue.c
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-06-30 15:15:42 +1000
committerPaul Mackerras <paulus@samba.org>2005-06-30 15:15:42 +1000
commit937b31b114b5540f456ce1566aae67e02db41f2c (patch)
tree3c4456f557ce37f99ef5056a8e7947fd7f1b1f83 /arch/ppc64/kernel/ItLpQueue.c
parent[PATCH] ppc64: Rename xItLpQueue to hvlpevent_queue (diff)
downloadlinux-dev-937b31b114b5540f456ce1566aae67e02db41f2c.tar.xz
linux-dev-937b31b114b5540f456ce1566aae67e02db41f2c.zip
[PATCH] ppc64: Rename ItLpQueue_* functions to hvlpevent_queue_*
Now that we've renamed the xItLpQueue structure, rename the functions that operate on it also. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/ItLpQueue.c')
-rw-r--r--arch/ppc64/kernel/ItLpQueue.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/ppc64/kernel/ItLpQueue.c b/arch/ppc64/kernel/ItLpQueue.c
index e55fe1a2725f..a81e49b91af0 100644
--- a/arch/ppc64/kernel/ItLpQueue.c
+++ b/arch/ppc64/kernel/ItLpQueue.c
@@ -70,7 +70,7 @@ static __inline__ void clear_inUse(void)
extern LpEventHandler lpEventHandler[HvLpEvent_Type_NumTypes];
unsigned long ItLpQueueInProcess = 0;
-static struct HvLpEvent * ItLpQueue_getNextLpEvent(void)
+static struct HvLpEvent * get_next_hvlpevent(void)
{
struct HvLpEvent * nextLpEvent =
(struct HvLpEvent *)hvlpevent_queue.xSlicCurEventPtr;
@@ -94,7 +94,7 @@ static struct HvLpEvent * ItLpQueue_getNextLpEvent(void)
static unsigned long spread_lpevents = NR_CPUS;
-int ItLpQueue_isLpIntPending(void)
+int hvlpevent_is_pending(void)
{
struct HvLpEvent *next_event;
@@ -105,7 +105,7 @@ int ItLpQueue_isLpIntPending(void)
return next_event->xFlags.xValid | hvlpevent_queue.xPlicOverflowIntPending;
}
-static void ItLpQueue_clearValid( struct HvLpEvent * event )
+static void hvlpevent_clear_valid( struct HvLpEvent * event )
{
/* Clear the valid bit of the event
* Also clear bits within this event that might
@@ -127,7 +127,7 @@ static void ItLpQueue_clearValid( struct HvLpEvent * event )
event->xFlags.xValid = 0;
}
-unsigned ItLpQueue_process(struct pt_regs *regs)
+unsigned process_hvlpevents(struct pt_regs *regs)
{
unsigned numIntsProcessed = 0;
struct HvLpEvent * nextLpEvent;
@@ -142,7 +142,7 @@ unsigned ItLpQueue_process(struct pt_regs *regs)
BUG();
for (;;) {
- nextLpEvent = ItLpQueue_getNextLpEvent();
+ nextLpEvent = get_next_hvlpevent();
if ( nextLpEvent ) {
/* Count events to return to caller
* and count processed events in hvlpevent_queue
@@ -170,7 +170,7 @@ unsigned ItLpQueue_process(struct pt_regs *regs)
else
printk(KERN_INFO "Unexpected Lp Event type=%d\n", nextLpEvent->xType );
- ItLpQueue_clearValid( nextLpEvent );
+ hvlpevent_clear_valid( nextLpEvent );
} else if ( hvlpevent_queue.xPlicOverflowIntPending )
/*
* No more valid events. If overflow events are