Re: [PATCH v4 17/29] nios2: System calls handling

2014-10-09 Thread Ley Foon Tan
On Thu, Oct 9, 2014 at 3:47 PM, Tobias Klauser wrote: >> +#if defined(CONFIG_FB) || defined(CONFIG_FB_MODULE) >> +#include >> +unsigned long get_fb_unmapped_area(struct file *filp, unsigned long >> orig_addr, >> + unsigned long len, unsigned long pgoff, unsigned long flags) >> +{ >>

Re: [PATCH v4 17/29] nios2: System calls handling

2014-10-09 Thread Tobias Klauser
On 2014-10-08 at 11:29:43 +0200, Ley Foon Tan wrote: > This patch adds support for system calls from userspaces. It uses the > asm-generic/unistd.h definitions with architecture spcific syscall. The > sys_call_table > is just an array defined in a C file and it contains pointers to the syscall >

[PATCH v4 17/29] nios2: System calls handling

2014-10-08 Thread Ley Foon Tan
This patch adds support for system calls from userspaces. It uses the asm-generic/unistd.h definitions with architecture spcific syscall. The sys_call_table is just an array defined in a C file and it contains pointers to the syscall functions. Signed-off-by: Ley Foon Tan --- arch/nios2/includ