From 4fbe7358c7747a9165f776eb19addbb9baf7def2 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 27 Jul 2013 22:07:53 +0000 Subject: rename libdde_linux26 into libdde-linux26 to make dpkg-source happy --- .../libdde_linux26/lib/src/kernel/cred-internals.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 libdde-linux26/libdde_linux26/lib/src/kernel/cred-internals.h (limited to 'libdde-linux26/libdde_linux26/lib/src/kernel/cred-internals.h') diff --git a/libdde-linux26/libdde_linux26/lib/src/kernel/cred-internals.h b/libdde-linux26/libdde_linux26/lib/src/kernel/cred-internals.h new file mode 100644 index 00000000..2dc4fc2d --- /dev/null +++ b/libdde-linux26/libdde_linux26/lib/src/kernel/cred-internals.h @@ -0,0 +1,21 @@ +/* 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 */ +} + -- cgit v1.2.3