Look in include/asm-[your-arch]/current.h
It's architecture dependant. For instance on PPC64 we keep current in a
register.
Regards,
Tom
-- Tom Gall - [embedded] [PPC64 | PPC32] Code Monkey Peace, Love & "Where's the ka-boom? There was Linux Technology Center supposed to be an earth http://www.ibm.com/linux/ltc/ shattering ka-boom!" (w) tom_gall@vnet.ibm.com -- Marvin Martian (w) 507-253-4558 (h) tgall@rochcivictheatre.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/