summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorArve Hjønnevåg <arve@android.com>2016-05-05 18:43:44 -0400
committerStephen Wolfe <swolfe@nvidia.com>2018-07-27 17:12:44 -0400
commitdde4d4cf917e3ebec415a728c4d3a422c4c630b4 (patch)
tree4ff3b9f954653a7f61ec975c1ebf94b52a9cef66 /include/linux
parente9c6d11022d2ac66fbaf30cd07318ca9ddc9d326 (diff)
trusty: Add notifier before and after every smc call.
Called with local interrupts disabled. Change-Id: I6feb9cee349f78f8d228294f238b0b420a6d4beb Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/trusty/trusty.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/trusty/trusty.h b/include/linux/trusty/trusty.h
index 30d4300ba..ce00c1d46 100644
--- a/include/linux/trusty/trusty.h
+++ b/include/linux/trusty/trusty.h
@@ -43,4 +43,14 @@ static inline s64 trusty_fast_call64(struct device *dev,
43#endif 43#endif
44#endif 44#endif
45 45
46struct notifier_block;
47enum {
48 TRUSTY_CALL_PREPARE,
49 TRUSTY_CALL_RETURNED,
50};
51int trusty_call_notifier_register(struct device *dev,
52 struct notifier_block *n);
53int trusty_call_notifier_unregister(struct device *dev,
54 struct notifier_block *n);
55
46#endif 56#endif