lkml.org 
[lkml]   [2008]   [Jul]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/22] Introducing asm/syscalls.h
FromJaswinder Singh <>
DateMon, 21 Jul 2008 11:37:14 +0530
Hello Matthew,

On Sun, 2008-07-20 at 23:55 -0600, Matthew Wilcox wrote:

> I think it makes more sense to add them to linux/syscall.h, possibly
> with comments mentioning which architectures implement them.
> 
> If there are architectures with different prototypes for the same
> syscall, using an ifdef CONFIG_(arch) is /better/ annotation that having
> them in different header files.
> 

linux/syscalls.h is Linux syscall interfaces (non-arch-specific)

So asm/syscalls.h is Linux syscall interfaces (arch-specific)

And if we add all arch dependent syscalls.h in linux/syscalls then it
will be very complex and do not look nice, for example sys_fork is keep
on changing for many architecture.

Thank you,

Jaswinder Singh.

--
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/

\
 
 \ /
  Last update: 2008-07-21 08:11    [from the cache]
©2003-2008