diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2005-11-24 00:51:31 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-08 22:50:35 -0500 |
commit | 404849bbd2bfd62e05b36f4753f6e1af6050a824 (patch) | |
tree | f233dd7d1ca0a0324fbfec7d33f83406c193cb27 /include | |
parent | 1888e7b51c0cb5db49911b59cb758ad2c7a530f2 (diff) |
[PATCH] powerpc: Remove some unneeded fields from the paca
This patch removes several unnecessary fields from the paca:
- next_jiffy_update_tb was simply unused. Remove trivially.
- The exdsi exception save area was not used. There were plans to use
it, but they never seem to have gone anywhere. If they ever do, we
can put it back. Remove from the paca, and from asm-offsets.c
- The default_decr field was used from asm, but was only ever assigned
the value of tb_ticks_per_jiffy. Just access tb_ticks_per_jiffy from
asm directly instead.
Built and booted on POWER5 LPAR and iSeries RS64.
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/paca.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-powerpc/paca.h b/include/asm-powerpc/paca.h index 73693db546b3..59a41dbbf73c 100644 --- a/include/asm-powerpc/paca.h +++ b/include/asm-powerpc/paca.h | |||
@@ -60,7 +60,6 @@ struct paca_struct { | |||
60 | u16 lock_token; /* Constant 0x8000, used in locks */ | 60 | u16 lock_token; /* Constant 0x8000, used in locks */ |
61 | u16 paca_index; /* Logical processor number */ | 61 | u16 paca_index; /* Logical processor number */ |
62 | 62 | ||
63 | u32 default_decr; /* Default decrementer value */ | ||
64 | u64 kernel_toc; /* Kernel TOC address */ | 63 | u64 kernel_toc; /* Kernel TOC address */ |
65 | u64 stab_real; /* Absolute address of segment table */ | 64 | u64 stab_real; /* Absolute address of segment table */ |
66 | u64 stab_addr; /* Virtual address of segment table */ | 65 | u64 stab_addr; /* Virtual address of segment table */ |
@@ -91,14 +90,10 @@ struct paca_struct { | |||
91 | struct task_struct *__current; /* Pointer to current */ | 90 | struct task_struct *__current; /* Pointer to current */ |
92 | u64 kstack; /* Saved Kernel stack addr */ | 91 | u64 kstack; /* Saved Kernel stack addr */ |
93 | u64 stab_rr; /* stab/slb round-robin counter */ | 92 | u64 stab_rr; /* stab/slb round-robin counter */ |
94 | u64 next_jiffy_update_tb; /* TB value for next jiffy update */ | ||
95 | u64 saved_r1; /* r1 save for RTAS calls */ | 93 | u64 saved_r1; /* r1 save for RTAS calls */ |
96 | u64 saved_msr; /* MSR saved here by enter_rtas */ | 94 | u64 saved_msr; /* MSR saved here by enter_rtas */ |
97 | u8 proc_enabled; /* irq soft-enable flag */ | 95 | u8 proc_enabled; /* irq soft-enable flag */ |
98 | 96 | ||
99 | /* not yet used */ | ||
100 | u64 exdsi[8]; /* used for linear mapping hash table misses */ | ||
101 | |||
102 | /* | 97 | /* |
103 | * iSeries structure which the hypervisor knows about - | 98 | * iSeries structure which the hypervisor knows about - |
104 | * this structure should not cross a page boundary. | 99 | * this structure should not cross a page boundary. |