summaryrefslogtreecommitdiffstats
path: root/kernel/cred-internals.h
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2010-03-24 13:17:19 +0800
committerIngo Molnar <mingo@elte.hu>2010-04-02 20:12:00 +0200
commit32bd7eb5a7f4596c8440dd9440322fe9e686634d (patch)
treef1d0c0a215c1305aec0a8f407b431a975f7ad072 /kernel/cred-internals.h
parentc9494727cf293ae2ec66af57547a3e79c724fec2 (diff)
downloadop-kernel-dev-32bd7eb5a7f4596c8440dd9440322fe9e686634d.zip
op-kernel-dev-32bd7eb5a7f4596c8440dd9440322fe9e686634d.tar.gz
sched: Remove remaining USER_SCHED code
This is left over from commit 7c9414385e ("sched: Remove USER_SCHED"") Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Dhaval Giani <dhaval.giani@gmail.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: David Howells <dhowells@redhat.com> LKML-Reference: <4BA9A05F.7010407@cn.fujitsu.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/cred-internals.h')
-rw-r--r--kernel/cred-internals.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/kernel/cred-internals.h b/kernel/cred-internals.h
deleted file mode 100644
index 2dc4fc2..0000000
--- a/kernel/cred-internals.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* 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 */
-}
-
OpenPOWER on IntegriCloud