diff options
author | linas <linas@austin.ibm.com> | 2005-11-03 19:42:26 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-09 19:30:25 -0500 |
commit | ae65a391caf1830aea9e4cadd69bb1aa69aad492 (patch) | |
tree | 7174b40718cbf42e4b1bddaa5dbe4bcdcf456da0 /arch/ppc64/kernel/eeh.c | |
parent | 77ac166fba909d520b9a21dcc28cb49081e31033 (diff) |
[PATCH] ppc64: uniform usage of bus unit id interfaces
01-pci-dn-uniformization.patch
This patch changes the rtas_pci interface to use the new struct pci_dn
structure for two routines that work with pci device nodes.
This patch also does some minor janitorial work: it uses some handy macros
and cleans up some trailing whitespace in the affected file.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/kernel/eeh.c')
-rw-r--r-- | arch/ppc64/kernel/eeh.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/ppc64/kernel/eeh.c b/arch/ppc64/kernel/eeh.c index 035d1b14a207..eedf21d5f3b7 100644 --- a/arch/ppc64/kernel/eeh.c +++ b/arch/ppc64/kernel/eeh.c | |||
@@ -71,10 +71,6 @@ | |||
71 | * and sent out for processing. | 71 | * and sent out for processing. |
72 | */ | 72 | */ |
73 | 73 | ||
74 | /** Bus Unit ID macros; get low and hi 32-bits of the 64-bit BUID */ | ||
75 | #define BUID_HI(buid) ((buid) >> 32) | ||
76 | #define BUID_LO(buid) ((buid) & 0xffffffff) | ||
77 | |||
78 | /* EEH event workqueue setup. */ | 74 | /* EEH event workqueue setup. */ |
79 | static DEFINE_SPINLOCK(eeh_eventlist_lock); | 75 | static DEFINE_SPINLOCK(eeh_eventlist_lock); |
80 | LIST_HEAD(eeh_eventlist); | 76 | LIST_HEAD(eeh_eventlist); |