| David Howells | d84f4f9 | 2008-11-14 10:39:23 +1100 | [diff] [blame] | 1 | /* Internal credentials stuff | 
|  | 2 | * | 
|  | 3 | * Copyright (C) 2008 Red Hat, Inc. All Rights Reserved. | 
|  | 4 | * Written by David Howells (dhowells@redhat.com) | 
|  | 5 | * | 
|  | 6 | * This program is free software; you can redistribute it and/or | 
|  | 7 | * modify it under the terms of the GNU General Public Licence | 
|  | 8 | * as published by the Free Software Foundation; either version | 
|  | 9 | * 2 of the Licence, or (at your option) any later version. | 
|  | 10 | */ | 
|  | 11 |  | 
|  | 12 | /* | 
|  | 13 | * user.c | 
|  | 14 | */ | 
|  | 15 | static inline void sched_switch_user(struct task_struct *p) | 
|  | 16 | { | 
|  | 17 | #ifdef CONFIG_USER_SCHED | 
|  | 18 | sched_move_task(p); | 
|  | 19 | #endif	/* CONFIG_USER_SCHED */ | 
|  | 20 | } | 
|  | 21 |  |