{"action":"created","comment":{"url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls/comments/31309764","id":31309764,"diff_hunk":"@@ -0,0 +1,86 @@\n+/*\n+ * Copyright (c) 2015, Linaro Limited\n+ *\n+ * This program is free software; you can redistribute it and/or modify\n+ * it under the terms of the GNU General Public License Version 2 as\n+ * published by the Free Software Foundation.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n+ * GNU General Public License for more details.\n+ */\n+#include <linux/slab.h>\n+#include \"tee_wait_queue.h\"\n+","path":"core/tee_wait_queue.c","position":15,"original_position":15,"commit_id":"766f4d35829d0d5af8530398bc6e1b20eb58e42e","original_commit_id":"766f4d35829d0d5af8530398bc6e1b20eb58e42e","user":{"login":"jbech-linaro","id":6168937,"avatar_url":"https://avatars.githubusercontent.com/u/6168937?v=3","gravatar_id":"","url":"https://api.github.com/users/jbech-linaro","html_url":"https://github.com/jbech-linaro","followers_url":"https://api.github.com/users/jbech-linaro/followers","following_url":"https://api.github.com/users/jbech-linaro/following{/other_user}","gists_url":"https://api.github.com/users/jbech-linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/jbech-linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbech-linaro/subscriptions","organizations_url":"https://api.github.com/users/jbech-linaro/orgs","repos_url":"https://api.github.com/users/jbech-linaro/repos","events_url":"https://api.github.com/users/jbech-linaro/events{/privacy}","received_events_url":"https://api.github.com/users/jbech-linaro/received_events","type":"User","site_admin":false},"body":"Also `#include <linux/types.h>` for `struct list_head` and `#include <linux/completion.h>` for `struct completion`.","created_at":"2015-05-29T09:15:44Z","updated_at":"2015-05-29T09:15:44Z","html_url":"https://github.com/OP-TEE/optee_linuxdriver/pull/23#discussion_r31309764","pull_request_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls/comments/31309764"},"html":{"href":"https://github.com/OP-TEE/optee_linuxdriver/pull/23#discussion_r31309764"},"pull_request":{"href":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls/23","id":36482085,"html_url":"https://github.com/OP-TEE/optee_linuxdriver/pull/23","diff_url":"https://github.com/OP-TEE/optee_linuxdriver/pull/23.diff","patch_url":"https://github.com/OP-TEE/optee_linuxdriver/pull/23.patch","issue_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/issues/23","number":23,"state":"open","locked":false,"title":"Add wait queue RPC service","user":{"login":"jenswi-linaro","id":6150306,"avatar_url":"https://avatars.githubusercontent.com/u/6150306?v=3","gravatar_id":"","url":"https://api.github.com/users/jenswi-linaro","html_url":"https://github.com/jenswi-linaro","followers_url":"https://api.github.com/users/jenswi-linaro/followers","following_url":"https://api.github.com/users/jenswi-linaro/following{/other_user}","gists_url":"https://api.github.com/users/jenswi-linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/jenswi-linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenswi-linaro/subscriptions","organizations_url":"https://api.github.com/users/jenswi-linaro/orgs","repos_url":"https://api.github.com/users/jenswi-linaro/repos","events_url":"https://api.github.com/users/jenswi-linaro/events{/privacy}","received_events_url":"https://api.github.com/users/jenswi-linaro/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>\r\n\r\nNeeded by  https://github.com/OP-TEE/optee_os/pull/319","created_at":"2015-05-29T08:00:51Z","updated_at":"2015-05-29T09:15:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7662142b146078ffb57f83a6f5a63aa417969cfb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls/23/commits","review_comments_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls/23/comments","review_comment_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/issues/23/comments","statuses_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/statuses/766f4d35829d0d5af8530398bc6e1b20eb58e42e","head":{"label":"jenswi-linaro:wait_queue","ref":"wait_queue","sha":"766f4d35829d0d5af8530398bc6e1b20eb58e42e","user":{"login":"jenswi-linaro","id":6150306,"avatar_url":"https://avatars.githubusercontent.com/u/6150306?v=3","gravatar_id":"","url":"https://api.github.com/users/jenswi-linaro","html_url":"https://github.com/jenswi-linaro","followers_url":"https://api.github.com/users/jenswi-linaro/followers","following_url":"https://api.github.com/users/jenswi-linaro/following{/other_user}","gists_url":"https://api.github.com/users/jenswi-linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/jenswi-linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenswi-linaro/subscriptions","organizations_url":"https://api.github.com/users/jenswi-linaro/orgs","repos_url":"https://api.github.com/users/jenswi-linaro/repos","events_url":"https://api.github.com/users/jenswi-linaro/events{/privacy}","received_events_url":"https://api.github.com/users/jenswi-linaro/received_events","type":"User","site_admin":false},"repo":{"id":20795246,"name":"optee_linuxdriver","full_name":"jenswi-linaro/optee_linuxdriver","owner":{"login":"jenswi-linaro","id":6150306,"avatar_url":"https://avatars.githubusercontent.com/u/6150306?v=3","gravatar_id":"","url":"https://api.github.com/users/jenswi-linaro","html_url":"https://github.com/jenswi-linaro","followers_url":"https://api.github.com/users/jenswi-linaro/followers","following_url":"https://api.github.com/users/jenswi-linaro/following{/other_user}","gists_url":"https://api.github.com/users/jenswi-linaro/gists{/gist_id}","starred_url":"https://api.github.com/users/jenswi-linaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenswi-linaro/subscriptions","organizations_url":"https://api.github.com/users/jenswi-linaro/orgs","repos_url":"https://api.github.com/users/jenswi-linaro/repos","events_url":"https://api.github.com/users/jenswi-linaro/events{/privacy}","received_events_url":"https://api.github.com/users/jenswi-linaro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jenswi-linaro/optee_linuxdriver","description":"Normal world linux driver","fork":true,"url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver","forks_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/forks","keys_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/teams","hooks_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/hooks","issue_events_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/issues/events{/number}","events_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/events","assignees_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/assignees{/user}","branches_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/branches{/branch}","tags_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/tags","blobs_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/statuses/{sha}","languages_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/languages","stargazers_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/stargazers","contributors_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/contributors","subscribers_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/subscribers","subscription_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/subscription","commits_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/contents/{+path}","compare_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/merges","archive_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/downloads","issues_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/issues{/number}","pulls_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/pulls{/number}","milestones_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/milestones{/number}","notifications_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/labels{/name}","releases_url":"https://api.github.com/repos/jenswi-linaro/optee_linuxdriver/releases{/id}","created_at":"2014-06-13T07:04:05Z","updated_at":"2014-12-07T18:49:42Z","pushed_at":"2015-05-29T07:56:16Z","git_url":"git://github.com/jenswi-linaro/optee_linuxdriver.git","ssh_url":"git@github.com:jenswi-linaro/optee_linuxdriver.git","clone_url":"https://github.com/jenswi-linaro/optee_linuxdriver.git","svn_url":"https://github.com/jenswi-linaro/optee_linuxdriver","homepage":null,"size":360,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"OP-TEE:master","ref":"master","sha":"4f76d0cd96167e43cb9eecd02122a11bd91d61f1","user":{"login":"OP-TEE","id":7488961,"avatar_url":"https://avatars.githubusercontent.com/u/7488961?v=3","gravatar_id":"","url":"https://api.github.com/users/OP-TEE","html_url":"https://github.com/OP-TEE","followers_url":"https://api.github.com/users/OP-TEE/followers","following_url":"https://api.github.com/users/OP-TEE/following{/other_user}","gists_url":"https://api.github.com/users/OP-TEE/gists{/gist_id}","starred_url":"https://api.github.com/users/OP-TEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OP-TEE/subscriptions","organizations_url":"https://api.github.com/users/OP-TEE/orgs","repos_url":"https://api.github.com/users/OP-TEE/repos","events_url":"https://api.github.com/users/OP-TEE/events{/privacy}","received_events_url":"https://api.github.com/users/OP-TEE/received_events","type":"Organization","site_admin":false},"repo":{"id":20193312,"name":"optee_linuxdriver","full_name":"OP-TEE/optee_linuxdriver","owner":{"login":"OP-TEE","id":7488961,"avatar_url":"https://avatars.githubusercontent.com/u/7488961?v=3","gravatar_id":"","url":"https://api.github.com/users/OP-TEE","html_url":"https://github.com/OP-TEE","followers_url":"https://api.github.com/users/OP-TEE/followers","following_url":"https://api.github.com/users/OP-TEE/following{/other_user}","gists_url":"https://api.github.com/users/OP-TEE/gists{/gist_id}","starred_url":"https://api.github.com/users/OP-TEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OP-TEE/subscriptions","organizations_url":"https://api.github.com/users/OP-TEE/orgs","repos_url":"https://api.github.com/users/OP-TEE/repos","events_url":"https://api.github.com/users/OP-TEE/events{/privacy}","received_events_url":"https://api.github.com/users/OP-TEE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OP-TEE/optee_linuxdriver","description":"Normal world linux driver","fork":false,"url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver","forks_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/forks","keys_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/teams","hooks_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/hooks","issue_events_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/issues/events{/number}","events_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/events","assignees_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/assignees{/user}","branches_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/branches{/branch}","tags_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/tags","blobs_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/git/refs{/sha}","trees_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/statuses/{sha}","languages_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/languages","stargazers_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/stargazers","contributors_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/contributors","subscribers_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/subscribers","subscription_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/subscription","commits_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/commits{/sha}","git_commits_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/git/commits{/sha}","comments_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/comments{/number}","issue_comment_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/issues/comments{/number}","contents_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/contents/{+path}","compare_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/merges","archive_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/downloads","issues_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/issues{/number}","pulls_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls{/number}","milestones_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/milestones{/number}","notifications_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/labels{/name}","releases_url":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/releases{/id}","created_at":"2014-05-26T17:21:11Z","updated_at":"2015-05-26T14:32:31Z","pushed_at":"2015-05-29T08:00:51Z","git_url":"git://github.com/OP-TEE/optee_linuxdriver.git","ssh_url":"git@github.com:OP-TEE/optee_linuxdriver.git","clone_url":"https://github.com/OP-TEE/optee_linuxdriver.git","svn_url":"https://github.com/OP-TEE/optee_linuxdriver","homepage":null,"size":784,"stargazers_count":19,"watchers_count":19,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":2,"forks":23,"open_issues":2,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls/23"},"html":{"href":"https://github.com/OP-TEE/optee_linuxdriver/pull/23"},"issue":{"href":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/issues/23"},"comments":{"href":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/OP-TEE/optee_linuxdriver/statuses/766f4d35829d0d5af8530398bc6e1b20eb58e42e"}}}}