Re: [PATCH 58/60] microblaze_v4: sys_microblaze.c

2008-06-26 Thread Arnd Bergmann
On Thursday 26 June 2008, Michal Simek wrote: > > >> + > >> +/* > >> + * sys_ipc() is the de-multiplexer for the SysV IPC calls.. > >> + * > >> + * This is really horribly ugly. > >> + */ > > > > If it's so horribly ugly, don't do it this way ;-) > > :-) this is not my part of code. I'll remove

Re: [PATCH 58/60] microblaze_v4: sys_microblaze.c

2008-06-26 Thread Michal Simek
>> + >> +/* >> + * sys_ipc() is the de-multiplexer for the SysV IPC calls.. >> + * >> + * This is really horribly ugly. >> + */ > > If it's so horribly ugly, don't do it this way ;-) :-) this is not my part of code. I'll remove it with syscall changes. >> +int >> +sys_ipc(uint call, int first,

Re: [PATCH 58/60] microblaze_v4: sys_microblaze.c

2008-06-26 Thread Arnd Bergmann
On Thursday 26 June 2008, [EMAIL PROTECTED] wrote: > + > +int sys_uname(struct old_utsname *name) > +{ > +   int err = -EFAULT; > + > +   down_read(&uts_sem); > +   if (name && !copy_to_user(name, utsname(), sizeof(*name))) > +   err = 0; > +   up_read(&uts_sem); > +

Re: [PATCH 58/60] microblaze_v4: sys_microblaze.c

2008-06-26 Thread Arnd Bergmann
On Thursday 26 June 2008, [EMAIL PROTECTED] wrote: > + > +/* > + * sys_ipc() is the de-multiplexer for the SysV IPC calls.. > + * > + * This is really horribly ugly. > + */ If it's so horribly ugly, don't do it this way ;-) > +int > +sys_ipc(uint call, int first, int second, int third, void *ptr,

[PATCH 58/60] microblaze_v4: sys_microblaze.c

2008-06-26 Thread monstr
From: Michal Simek <[EMAIL PROTECTED]> Signed-off-by: Michal Simek <[EMAIL PROTECTED]> --- arch/microblaze/kernel/sys_microblaze.c | 283 +++ 1 files changed, 283 insertions(+), 0 deletions(-) create mode 100644 arch/microblaze/kernel/sys_microblaze.c diff --git a/