kernel: Changes to avoid warnings during compilation
Changes to avoid warnings for enabling Werror flag in LK.
Change-Id: Ia7263e555be3e582d1ed433c806788f1151219a4
diff --git a/kernel/thread.c b/kernel/thread.c
index 58dff8d..2c205ee 100644
--- a/kernel/thread.c
+++ b/kernel/thread.c
@@ -1,6 +1,8 @@
/*
* Copyright (c) 2008-2009 Travis Geiselbrecht
*
+ * Copyright (c) 2014, The Linux Foundation. All rights reserved.
+ *
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
@@ -262,6 +264,7 @@
thread_resched();
panic("somehow fell through thread_exit()\n");
+ for(;;);
}
static void idle_thread_routine(void)