Skip to contentSkip to conversation

getxpid, getxuid, getxgid

DISCUSSION Herbert Poetzl 2 participants 3 messages Jun 17, 2005

lore
Share & tools
lore
#0 lore raw

Hi!

I would like to know why alpha seems to be the only arch which has assembler code for some syscalls (like the sys_getx* calls)

is the alpha gcc compiler so bad that it can not handle the task of dereferencing the task struct?

is it some kind of legacy code, which should have been removed a long time ago, but just wasn't?

or is there a special reason for doing so?

details: arch/alpha/kernel/entry.S

TIA,
Herbert

#1 lore raw
Quoted 3 lines · Herbert Poetzl

I would like to know why alpha seems to be the only arch which has assembler code for some syscalls (like the sys_getx* calls)

Compatibility with OSF/1.

r~

#2 lore raw
Quoted 6 lines · Richard Henderson
Quoted 3 lines · Herbert Poetzl

I would like to know why alpha seems to be the only arch which has assembler code for some syscalls (like the sys_getx* calls)

Compatibility with OSF/1.

hmm, and OSF/1 requires them to be written in assembler?

best,
Herbert

Quoted 8 lines

r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/