Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75485
b: refs/heads/master
c: dfbe0d3
h: refs/heads/master
i:
  75483: b9fa865
v: v3
  • Loading branch information
Paul Mackerras committed Jan 15, 2008
1 parent 1b28f15 commit 4c503d7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d262c32a4bcc3e5fda0325a64e53c25fe1e999d7
refs/heads/master: dfbe0d3b6be52596b5694b1bb75b19562e769021
10 changes: 2 additions & 8 deletions trunk/arch/powerpc/mm/slb.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,6 @@ static inline void slb_shadow_clear(unsigned long entry)
get_slb_shadow()->save_area[entry].esid = 0;
}

void slb_shadow_clear_all(void)
{
int i;

for (i = 0; i < SLB_NUM_BOLTED; i++)
slb_shadow_clear(i);
}

static inline void create_shadowed_slbe(unsigned long ea, int ssize,
unsigned long flags,
unsigned long entry)
Expand Down Expand Up @@ -300,6 +292,8 @@ void slb_initialize(void)

create_shadowed_slbe(VMALLOC_START, mmu_kernel_ssize, vflags, 1);

slb_shadow_clear(2);

/* We don't bolt the stack for the time being - we're in boot,
* so the stack is in the bolted segment. By the time it goes
* elsewhere, we'll call _switch() which will bolt in the new
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/platforms/pseries/lpar.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,6 @@ void vpa_init(int cpu)
*/
addr = __pa(&slb_shadow[cpu]);
if (firmware_has_feature(FW_FEATURE_SPLPAR)) {
slb_shadow_clear_all();
ret = register_slb_shadow(hwcpu, addr);
if (ret)
printk(KERN_ERR
Expand Down
1 change: 0 additions & 1 deletion trunk/include/asm-powerpc/mmu-hash64.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ extern void hpte_init_iSeries(void);
extern void hpte_init_beat(void);
extern void hpte_init_beat_v3(void);

extern void slb_shadow_clear_all(void);
extern void stabs_alloc(void);
extern void slb_initialize(void);
extern void slb_flush_and_rebolt(void);
Expand Down

0 comments on commit 4c503d7

Please sign in to comment.