summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorRuud Derwig <rderwig@synopsys.com>2014-12-03 15:52:41 +0100
committerVineet Gupta <vgupta@synopsys.com>2015-06-25 06:00:21 +0530
commit2924cd18c434c79ee777dc63616a8505045d7509 (patch)
treeaf6d38f463b61b420199331823deb1ab920b9ea5 /arch/arc/kernel/asm-offsets.c
parent5fa2daaa8d8223d06fcdba171a7a668dc8e8b179 (diff)
downloadlinux-2924cd18c434c79ee777dc63616a8505045d7509.tar.bz2
ARCv2: [vdk] dts files and defconfig for HS38 VDK
- CONFIG_ARC_UBOOT_SUPPORT to handle arguments passed in r0, r1, r2 - CONFIG_DEVTMPFS_MOUNT for mouting rootfs since it uses external cpio for rootfs Cc: Grant Likely <grant.likely@linaro.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Signed-off-by: Ruud Derwig <rderwig@synopsys.com> [vgupta: folded the Main baord DT files for smp/up into one] Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/asm-offsets.c')
-rw-r--r--arch/arc/kernel/asm-offsets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/kernel/asm-offsets.c b/arch/arc/kernel/asm-offsets.c
index 605281f5b301..ecaf34e9235c 100644
--- a/arch/arc/kernel/asm-offsets.c
+++ b/arch/arc/kernel/asm-offsets.c
@@ -37,6 +37,8 @@ int main(void)
DEFINE(TASK_ACT_MM, offsetof(struct task_struct, active_mm));
DEFINE(TASK_TGID, offsetof(struct task_struct, tgid));
+ DEFINE(TASK_PID, offsetof(struct task_struct, pid));
+ DEFINE(TASK_COMM, offsetof(struct task_struct, comm));
DEFINE(MM_CTXT, offsetof(struct mm_struct, context));
DEFINE(MM_PGD, offsetof(struct mm_struct, pgd));