Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6936
b: refs/heads/master
c: 233ccd0
h: refs/heads/master
v: v3
  • Loading branch information
Olof Johansson authored and Linus Torvalds committed Sep 5, 2005
1 parent 44fc0ef commit 8870b15
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 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: b749bfcd1be72f8cb8310e1cac12825bda029432
refs/heads/master: 233ccd0d0452682edb51725410e0f8c0384e8b34
4 changes: 4 additions & 0 deletions trunk/arch/ppc64/kernel/pSeries_lpar.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ void vpa_init(int cpu)

/* Register the Virtual Processor Area (VPA) */
flags = 1UL << (63 - 18);

if (cpu_has_feature(CPU_FTR_ALTIVEC))
paca[cpu].lppaca.vmxregs_in_use = 1;

ret = register_vpa(flags, hwcpu, __pa(vpa));

if (ret)
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/ppc64/kernel/pacaData.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ extern unsigned long __toc_start;
.fpregs_in_use = 1, \
.end_of_quantum = 0xfffffffffffffffful, \
.slb_count = 64, \
.vmxregs_in_use = 0, \
}, \

#ifdef CONFIG_PPC_ISERIES
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-ppc64/lppaca.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ struct lppaca
volatile u32 virtual_decr; // Virtual DECR for shared procsx78-x7B
u16 slb_count; // # of SLBs to maintain x7C-x7D
u8 idle; // Indicate OS is idle x7E
u8 reserved5; // Reserved x7F
u8 vmxregs_in_use; // VMX registers in use x7F


//=============================================================================
Expand Down

0 comments on commit 8870b15

Please sign in to comment.