Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c92877e0 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds
Browse files

[PATCH] ppc64 iSeries: cleanup ItLpQueue.h



Just white space cleaups and move process_iSeries_events into its only caller.

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2310c977
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -42,6 +42,11 @@ static int (*idle_loop)(void);
static unsigned long maxYieldTime = 0;
static unsigned long minYieldTime = 0xffffffffffffffffUL;

static inline void process_iSeries_events(void)
{
	asm volatile ("li 0,0x5555; sc" : : : "r0", "r3");
}

static void yield_shared_processor(void)
{
	unsigned long tb;
+4 −12
Original line number Diff line number Diff line
@@ -81,12 +81,4 @@ extern int ItLpQueue_isLpIntPending(struct ItLpQueue *);
extern unsigned ItLpQueue_process(struct ItLpQueue *, struct pt_regs *);
extern void ItLpQueue_clearValid(struct HvLpEvent *);

static __inline__ void process_iSeries_events(void)
{
	__asm__ __volatile__ (
	"	li	0,0x5555	\n\
		sc"
	: : : "r0", "r3");
}

#endif /* _ITLPQUEUE_H */