aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
blob: 7ac789232d11cd1e200bf686b6d4e43335c7958a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-License-Identifier: GPL-2.0

#include <linux/export.h>
#include <linux/sched/task.h>

struct task_struct *rust_helper_get_current(void)
{
	return current;
}

void rust_helper_get_task_struct(struct task_struct *t)
{
	get_task_struct(t);
}

void rust_helper_put_task_struct(struct task_struct *t)
{
	put_task_struct(t);
}
llow=1'>Documentation: fix a bunch of typos, both old and newElijah Newren54-74/+74 2019-10-24Git 2.24-rc1v2.24.0-rc1Junio C Hamano1-1/+1 2019-10-24repo-settings: read an int for index.versionDerrick Stolee2-1/+5 2019-10-24ci: fix GCC install in the Travis CI GCC OSX jobSZEDER Gábor1-0/+1 2019-10-23Eleventh batchJunio C Hamano1-0/+10 2019-10-23ci(osx): use new location of the `perforce` caskJohannes Schindelin1-0/+5 2019-10-23t7419: change test_must_fail to ! for grepDenton Liu1-3/+3 2019-10-23t4014: make output-directory tests self-containedBert Wesarg1-5/+8 2019-10-23ci(visual-studio): actually run the tests in parallelJohannes Schindelin1-1/+1 2019-10-23ci(visual-studio): use strict compile flags, and optimizationJohannes Schindelin1-1/+1 2019-10-21userdiff: fix some corner cases in dts regexStephen Boyd5-2/+33 2019-10-21test-progress: fix test failures on big-endian systemsSZEDER Gábor1-1/+1 2019-10-18completion: clarify installation instruction for zshMaxim Belsky1-2/+3 2019-10-18Git 2.24-rc0v2.24.0-rc0Junio C Hamano2-1/+18 2019-10-18grep: avoid leak of chartables in PCRE2Carlo Marcelo Arenas Belón2-3/+5 2019-10-18grep: make PCRE2 aware of custom allocatorCarlo Marcelo Arenas Belón3-1/+35 2019-10-18grep: make PCRE1 aware of custom allocatorCarlo Marcelo Arenas Belón1-0/+8 2019-10-17remote-curl: pass on atomic capability to remote sidebrian m. carlson5-3/+62 2019-10-15diff-highlight: fix a whitespace nitNorman Rasmussen1-1/+1 2019-10-15Ninth batchJunio C Hamano1-0/+33 2019-10-15remote-curl: use argv_array in parse_push()René Scharfe1-13/+9 2019-10-15column: use utf8_strnwidth() to strip out ANSI color escapesRené Scharfe1-12/+1 2019-10-15http-push: simplify deleting a list itemRené Scharfe1-4/+4 2019-10-15stash: avoid recursive hard reset on submodulesJakob Jarmar3-3/+43 2019-10-12format-patch: create leading components of output directoryBert Wesarg4-2/+42 2019-10-12git-compat-util: fix documentation syntaxBeat Bolli1-1/+1 2019-10-12utf8: use ARRAY_SIZE() in git_wcwidth()Beat Bolli1-4/+2 2019-10-12fsmonitor: don't fill bitmap with entries to be removedWilliam Baker3-5/+65 2019-10-12Makefile: respect $(V) in %.cocci.patch targetDenton Liu1-1/+2 2019-10-11pthread.h: manually align parameter listsDenton Liu1-1/+1 2019-10-11t1308-config-set: fix a test that has a typoTanay Abhra1-4/+4 2019-10-11doc(stash): clarify the description of `save`Johannes Schindelin1-2/+3 2019-10-11Eighth batchJunio C Hamano1-0/+30 2019-10-10CODE_OF_CONDUCT: mention individual project-leader emailsJeff King1-0/+8