summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2021-10-04 23:46:23 +0200
committerHelge Deller <deller@gmx.de>2021-10-30 23:11:01 +0200
commit6ff7fa4b239311f06439bf5809200ea2b596d86f (patch)
tree6857052ff11d6b36695440171ac2776f1c351d97 /arch/parisc
parentb7d8c16a58f8e843f1db6dd08aa0d72683b336c1 (diff)
downloadlinux-stable-6ff7fa4b239311f06439bf5809200ea2b596d86f.tar.gz
linux-stable-6ff7fa4b239311f06439bf5809200ea2b596d86f.tar.bz2
linux-stable-6ff7fa4b239311f06439bf5809200ea2b596d86f.zip
parisc: Use FRAME_SIZE and FRAME_ALIGN from assembly.h
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/asm-offsets.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/parisc/kernel/asm-offsets.c b/arch/parisc/kernel/asm-offsets.c
index 22924a3f1728..276c67ea7fd2 100644
--- a/arch/parisc/kernel/asm-offsets.c
+++ b/arch/parisc/kernel/asm-offsets.c
@@ -22,18 +22,12 @@
#include <linux/kbuild.h>
#include <linux/pgtable.h>
+#include <asm/assembly.h>
#include <asm/ptrace.h>
#include <asm/processor.h>
#include <asm/pdc.h>
#include <linux/uaccess.h>
-#ifdef CONFIG_64BIT
-#define FRAME_SIZE 128
-#else
-#define FRAME_SIZE 64
-#endif
-#define FRAME_ALIGN 64
-
/* Add FRAME_SIZE to the size x and align it to y. All definitions
* that use align_frame will include space for a frame.
*/