|
@@ -16,12 +16,14 @@
|
|
|
|
|
|
#include "policy_tools.h"
|
|
#include "policy_tools.h"
|
|
|
|
|
|
|
|
+#include <sched_ctx_hypervisor_intern.h>
|
|
|
|
+
|
|
void app_driven_handle_post_exec_hook(unsigned sched_ctx, struct resize_request_entry* resize_requests, int task_tag)
|
|
void app_driven_handle_post_exec_hook(unsigned sched_ctx, struct resize_request_entry* resize_requests, int task_tag)
|
|
{
|
|
{
|
|
struct resize_request_entry *entry;
|
|
struct resize_request_entry *entry;
|
|
|
|
|
|
/* Check whether 'task_tag' is in the 'resize_requests' set. */
|
|
/* Check whether 'task_tag' is in the 'resize_requests' set. */
|
|
- HASH_FIND_INT(resize_requests, task_tag, &entry);
|
|
|
|
|
|
+ HASH_FIND_INT(resize_requests, task_tag, entry);
|
|
if(entry != NULL)
|
|
if(entry != NULL)
|
|
{
|
|
{
|
|
_resize_to_unknown_receiver(sched_ctx, 1);
|
|
_resize_to_unknown_receiver(sched_ctx, 1);
|