···4 * to extract and format the required data.5 */607#include <linux/config.h>89#include <linux/sched.h>
···4 * to extract and format the required data.5 */67+#define ASM_OFFSETS_C 18#include <linux/config.h>910#include <linux/sched.h>
+2
include/asm-ia64/ptrace.h
···57#include <linux/config.h>5859#include <asm/fpu.h>060#include <asm/asm-offsets.h>06162/*63 * Base-2 logarithm of number of pages to allocate per task structure
···57#include <linux/config.h>5859#include <asm/fpu.h>60+#ifndef ASM_OFFSETS_C61#include <asm/asm-offsets.h>62+#endif6364/*65 * Base-2 logarithm of number of pages to allocate per task structure
+7
include/asm-ia64/thread_info.h
···5#ifndef _ASM_IA64_THREAD_INFO_H6#define _ASM_IA64_THREAD_INFO_H708#include <asm/asm-offsets.h>09#include <asm/processor.h>10#include <asm/ptrace.h>11···53 }, \54}55056/* how to get the thread information struct from C */57#define current_thread_info() ((struct thread_info *) ((char *) current + IA64_TASK_SIZE))58#define alloc_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE))000059#define free_thread_info(ti) /* nothing */6061#define __HAVE_ARCH_TASK_STRUCT_ALLOCATOR
···5#ifndef _ASM_IA64_THREAD_INFO_H6#define _ASM_IA64_THREAD_INFO_H78+#ifndef ASM_OFFSETS_C9#include <asm/asm-offsets.h>10+#endif11#include <asm/processor.h>12#include <asm/ptrace.h>13···51 }, \52}5354+#ifndef ASM_OFFSETS_C55/* how to get the thread information struct from C */56#define current_thread_info() ((struct thread_info *) ((char *) current + IA64_TASK_SIZE))57#define alloc_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE))58+#else59+#define current_thread_info() ((struct thread_info *) 0)60+#define alloc_thread_info(tsk) ((struct thread_info *) 0)61+#endif62#define free_thread_info(ti) /* nothing */6364#define __HAVE_ARCH_TASK_STRUCT_ALLOCATOR