Skip to contentSkip to conversation

KSTK_EIP and KSTK_ESP

DISCUSSION Balbir Singh 1 participant 1 message Feb 8, 2002

lore
Share & tools
lore
#0 lore raw

My fault, I was using lxr.linux.no. I was also confused by the way it is defined in include/asm-parisc (2.4.17)

#define KSTK_EIP(tsk) (0xdeadbeef)
#define KSTK_ESP(tsk) (0xdeadbeef)

Thanks for pointing this out,
Balbir

Quoted 9 lines

From: "David S. Miller" <[email protected]>
To: [email protected]
CC: [email protected], [email protected]
Subject: Re: KSTK_EIP and KSTK_ESP
Date: Fri, 08 Feb 2002 12:55:22 -0800 (PST)

From: "Balbir Singh" <[email protected]>
Date: Fri, 08 Feb 2002 12:36:59 -0800

Quoted 8 lines

Do we really need these defines, I found that it is not used anywhere and defined as deadbeef on some architectures. Does it make sense to remove these variables from the kernel source?

Perhaps your copy of grep is buggy, check out fs/proc/array.c which does make use of those macros.

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com