aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc/kernel/process.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-11-28flagday: don't pass regs to copy_thread()Al Viro1-1/+1
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-11-28openrisc: switch to use of generic fork and cloneAl Viro1-2/+3
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-10-19openrisc: use generic sys_execveJonas Bonn1-24/+0
Signed-off-by: Jonas Bonn <jonas@southpole.se>
2012-10-19openrisc: use generic kernel_thread/kernel_execveJonas Bonn1-82/+56
Signed-off-by: Jonas Bonn <jonas@southpole.se>
2012-10-19openrisc: pass correct arg to schedule_tailJonas Bonn1-1/+0
schedule_tail() requires that the 'prev' task be passed as an argument to it. This arg is set in _switch, just before 'returning' to one of the ret_* functions where schedule_tail is invoked. Signed-off-by: Jonas Bonn <jonas@southpole.se>
2012-10-12vfs: define struct filename and have getname() return itJeff Layton1-2/+2
getname() is intended to copy pathname strings from userspace into a kernel buffer. The result is just a string in kernel space. It would however be quite helpful to be able to attach some ancillary info to the string. For instance, we could attach some audit-related info to reduce the amount of audit-related processing needed. When auditing is enabled, we could also call getname() on the string more than once and not need to recopy it from userspace. This patchset converts the getname()/putname() interfaces to return a struct instead of a string. For now, the struct just tracks the string in kernel space and the original userland pointer for it. Later, we'll add other information to the struct as it becomes convenient. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2012-03-28Disintegrate asm/system.h for OpenRISCDavid Howells1-1/+0
Disintegrate asm/system.h for OpenRISC. Not compiled. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> cc: linux@lists.openrisc.net
2011-07-22OpenRISC: Scheduling/Process managementJonas Bonn1-0/+311
Signed-off-by: Jonas Bonn <jonas@southpole.se> Reviewed-by: Arnd Bergmann <arnd@arndb.de>