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
>> +
>> +/*
>> + * 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,
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);
> +
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,
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/