https://github.com/torvalds/linux
Raw File
Tip revision: e40152ee1e1c7a63f4777791863215e3faa37a86 authored by Linus Torvalds on 16 May 2010, 21:17:36 UTC
Linus 2.6.34
Tip revision: e40152e
cred-internals.h
/* Internal credentials stuff
 *
 * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved.
 * Written by David Howells (dhowells@redhat.com)
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public Licence
 * as published by the Free Software Foundation; either version
 * 2 of the Licence, or (at your option) any later version.
 */

/*
 * user.c
 */
static inline void sched_switch_user(struct task_struct *p)
{
#ifdef CONFIG_USER_SCHED
	sched_move_task(p);
#endif	/* CONFIG_USER_SCHED */
}

back to top