aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc64/iSeries/XmPciLpEvent.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-06-21 20:15:35 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-21 21:46:27 -0400
commit6b7feecb2f8fcab184a38916d10349bd6648e0bc (patch)
tree5c51827e85eff96d6c50b41fea428bcf0f1ba71a /include/asm-ppc64/iSeries/XmPciLpEvent.h
parentfcee38952609fccb2bdfe166b3b96bd75a292aa6 (diff)
[PATCH] ppc64 iSeries: obvious code simplifications
This patch does some obvious code cleanups in the iSeries headers files. - simplifies the bodies of lots of inline functions - parenthesises a macros result - removes C++ wrapping - adds "extern" to some function declarations There are no semantic changes. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ppc64/iSeries/XmPciLpEvent.h')
-rw-r--r--include/asm-ppc64/iSeries/XmPciLpEvent.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/asm-ppc64/iSeries/XmPciLpEvent.h b/include/asm-ppc64/iSeries/XmPciLpEvent.h
index 9c800792bc5c..4936627b26d0 100644
--- a/include/asm-ppc64/iSeries/XmPciLpEvent.h
+++ b/include/asm-ppc64/iSeries/XmPciLpEvent.h
@@ -1,15 +1,7 @@
1#ifndef __XMPCILPEVENT_H__ 1#ifndef __XMPCILPEVENT_H__
2#define __XMPCILPEVENT_H__ 2#define __XMPCILPEVENT_H__
3 3
4#ifdef __cplusplus 4extern int XmPciLpEvent_init(void);
5extern "C" { 5extern void ppc_irq_dispatch_handler(struct pt_regs *regs, int irq);
6#endif
7
8int XmPciLpEvent_init(void);
9void ppc_irq_dispatch_handler(struct pt_regs *regs, int irq);
10
11#ifdef __cplusplus
12}
13#endif
14 6
15#endif /* __XMPCILPEVENT_H__ */ 7#endif /* __XMPCILPEVENT_H__ */