Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177957076
D54839.1795645901.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
866 B
Referenced Files
None
Subscribers
None
D54839.1795645901.diff
View Options
diff --git a/sys/powerpc/powerpc/exec_machdep.c b/sys/powerpc/powerpc/exec_machdep.c
--- a/sys/powerpc/powerpc/exec_machdep.c
+++ b/sys/powerpc/powerpc/exec_machdep.c
@@ -1083,7 +1083,7 @@
struct pcb *pcb;
pcb = (struct pcb *)((td->td_kstack + td->td_kstack_pages * PAGE_SIZE -
- sizeof(struct pcb)) & ~0x2fUL);
+ sizeof(struct pcb)) & ~0x3fUL);
td->td_pcb = pcb;
td->td_frame = (struct trapframe *)pcb - 1;
}
diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c
--- a/sys/powerpc/powerpc/vm_machdep.c
+++ b/sys/powerpc/powerpc/vm_machdep.c
@@ -124,7 +124,7 @@
cpu_update_pcb(td1);
pcb = (struct pcb *)((td2->td_kstack +
- td2->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb)) & ~0x2fUL);
+ td2->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb)) & ~0x3fUL);
td2->td_pcb = pcb;
/* Copy the pcb */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 25, 10:31 PM (8 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42000689
Default Alt Text
D54839.1795645901.diff (866 B)
Attached To
Mode
D54839: powerpc: Fix alignment of initial PCB on kstack
Attached
Detach File
Event Timeline