diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-06-30 15:16:09 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-06-30 15:16:09 +1000 |
commit | ed094150bdeb6eca691f1b7a05bd34d4d1a95488 (patch) | |
tree | 6dc4428b3ce794c2e26db1583cab724f5bcefe19 /include | |
parent | 74889802a1585af4e1652f0cb853ac22a65816a4 (diff) | |
download | kernel_samsung_aries-ed094150bdeb6eca691f1b7a05bd34d4d1a95488.zip kernel_samsung_aries-ed094150bdeb6eca691f1b7a05bd34d4d1a95488.tar.gz kernel_samsung_aries-ed094150bdeb6eca691f1b7a05bd34d4d1a95488.tar.bz2 |
[PATCH] ppc64: Simplify counting of lpevents, remove lpevent_count from paca
Currently there's a per-cpu count of lpevents processed, a per-queue (ie.
global) total count, and a count by event type.
Replace all that with a count by event for each cpu. We only need to add
it up int the proc code.
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 'include')
-rw-r--r-- | include/asm-ppc64/iSeries/ItLpQueue.h | 2 | ||||
-rw-r--r-- | include/asm-ppc64/paca.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-ppc64/iSeries/ItLpQueue.h b/include/asm-ppc64/iSeries/ItLpQueue.h index 6ba74c0..51db088 100644 --- a/include/asm-ppc64/iSeries/ItLpQueue.h +++ b/include/asm-ppc64/iSeries/ItLpQueue.h @@ -70,8 +70,6 @@ struct hvlpevent_queue { u8 xIndex; // 0x28 unique sequential index. u8 xSlicRsvd[3]; // 0x29-2b u32 xInUseWord; // 0x2C - u64 xLpIntCount; // 0x30 Total Lp Int msgs processed - u64 xLpIntCountByType[9]; // 0x38-0x7F Event counts by type }; extern struct hvlpevent_queue hvlpevent_queue; diff --git a/include/asm-ppc64/paca.h b/include/asm-ppc64/paca.h index 0146f516..2f0f36f 100644 --- a/include/asm-ppc64/paca.h +++ b/include/asm-ppc64/paca.h @@ -89,7 +89,6 @@ struct paca_struct { u64 next_jiffy_update_tb; /* TB value for next jiffy update */ u64 saved_r1; /* r1 save for RTAS calls */ u64 saved_msr; /* MSR saved here by enter_rtas */ - u32 lpevent_count; /* lpevents processed */ u8 proc_enabled; /* irq soft-enable flag */ /* not yet used */ |