Commit b7d8c16a authored by Helge Deller's avatar Helge Deller

parisc: Allocate task struct with stack frame alignment

We will put the stack directly behind the task struct, so
make sure that we allocate it with an alignment of 64 bytes.
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 9f6cfef1
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
#include <linux/threads.h> #include <linux/threads.h>
#include <asm/assembly.h>
#include <asm/prefetch.h> #include <asm/prefetch.h>
#include <asm/hardware.h> #include <asm/hardware.h>
#include <asm/pdc.h> #include <asm/pdc.h>
...@@ -101,7 +102,7 @@ DECLARE_PER_CPU(struct cpuinfo_parisc, cpu_data); ...@@ -101,7 +102,7 @@ DECLARE_PER_CPU(struct cpuinfo_parisc, cpu_data);
#define CPU_HVERSION ((boot_cpu_data.hversion >> 4) & 0x0FFF) #define CPU_HVERSION ((boot_cpu_data.hversion >> 4) & 0x0FFF)
#define ARCH_MIN_TASKALIGN 8 #define ARCH_MIN_TASKALIGN FRAME_ALIGN
struct thread_struct { struct thread_struct {
struct pt_regs regs; struct pt_regs regs;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment