]> err.no Git - linux-2.6/blobdiff - include/asm-ia64/processor.h
Merge branch 'for-2.6.26' of master.kernel.org:/pub/scm/linux/kernel/git/olof/pasemi
[linux-2.6] / include / asm-ia64 / processor.h
index 038642f6d19e450a354b12d7675530928b37dd11..741f7ecb986a90fb28ed9c0a8020da5b67654f46 100644 (file)
@@ -31,7 +31,8 @@
  * each (assuming 8KB page size), for a total of 8TB of user virtual
  * address space.
  */
-#define TASK_SIZE              (current->thread.task_size)
+#define TASK_SIZE_OF(tsk)      ((tsk)->thread.task_size)
+#define TASK_SIZE              TASK_SIZE_OF(current)
 
 /*
  * This decides where the kernel will search for a free chunk of vm