gator-driver: Handle task struct correctly
authorDrew Richardson <drew.richardson@arm.com>
Tue, 17 Dec 2013 23:40:56 +0000 (23:40 +0000)
committerJon Medhurst <tixy@linaro.org>
Wed, 18 Dec 2013 19:03:26 +0000 (19:03 +0000)
commit1de4a819a058e09019bffbd51b26dffc13d81ee1
treef2894cb297e9bb8e4d1f65d8c061eafdf84624fd
parentc3fc2b13fd58f1f5db521a062f0bbf782874383c
gator-driver: Handle task struct correctly

Use put_task_struct/get_task_struct to ensure the task_struct pointer
is still valid. Change translate_buffer to ensure that both arguments
are written atomically. Drop additional requests if the
translate_buffer is full.

Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
driver/gator_cookies.c
driver/gator_iks.c