diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-06-30 01:08:56 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-06-30 01:08:56 -0400 |
commit | 0f6014b37e25e50724867c0a4127615427ec2a75 (patch) | |
tree | 0ebda5fcd7b644f0b1f91192d3b5b4c0137f4e5b /arch | |
parent | 7b01328d455b50ff040d3a06b342ca370b1d8b0a (diff) |
[PATCH] ppc64: Make two ItLpQueue related functions static
External parties don't need to use ItLpQueue_getNextLpEvent() or
ItLpQueue_clearValid(), they're internal to ItLpQueue.c
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')
-rw-r--r-- | arch/ppc64/kernel/ItLpQueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/ItLpQueue.c b/arch/ppc64/kernel/ItLpQueue.c index 11cd31dfcef8..ac0b05a6e067 100644 --- a/arch/ppc64/kernel/ItLpQueue.c +++ b/arch/ppc64/kernel/ItLpQueue.c | |||
@@ -62,7 +62,7 @@ static __inline__ void clear_inUse(void) | |||
62 | extern LpEventHandler lpEventHandler[HvLpEvent_Type_NumTypes]; | 62 | extern LpEventHandler lpEventHandler[HvLpEvent_Type_NumTypes]; |
63 | unsigned long ItLpQueueInProcess = 0; | 63 | unsigned long ItLpQueueInProcess = 0; |
64 | 64 | ||
65 | struct HvLpEvent * ItLpQueue_getNextLpEvent(void) | 65 | static struct HvLpEvent * ItLpQueue_getNextLpEvent(void) |
66 | { | 66 | { |
67 | struct HvLpEvent * nextLpEvent = | 67 | struct HvLpEvent * nextLpEvent = |
68 | (struct HvLpEvent *)xItLpQueue.xSlicCurEventPtr; | 68 | (struct HvLpEvent *)xItLpQueue.xSlicCurEventPtr; |
@@ -97,7 +97,7 @@ int ItLpQueue_isLpIntPending(void) | |||
97 | return next_event->xFlags.xValid | xItLpQueue.xPlicOverflowIntPending; | 97 | return next_event->xFlags.xValid | xItLpQueue.xPlicOverflowIntPending; |
98 | } | 98 | } |
99 | 99 | ||
100 | void ItLpQueue_clearValid( struct HvLpEvent * event ) | 100 | static void ItLpQueue_clearValid( struct HvLpEvent * event ) |
101 | { | 101 | { |
102 | /* Clear the valid bit of the event | 102 | /* Clear the valid bit of the event |
103 | * Also clear bits within this event that might | 103 | * Also clear bits within this event that might |