summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-01-08 10:38:40 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-01-08 10:38:40 +0000
commitcb7e88d3b677dee6948608c944eded256acf37fd (patch)
treeb04fce00a10caddc51ccadd46c6a623df952c0ef
parent4ed78f5c72649002d78d48d9a117826a5d9c36f9 (diff)
downloadrockbox-cb7e88d3b677dee6948608c944eded256acf37fd.tar.gz
rockbox-cb7e88d3b677dee6948608c944eded256acf37fd.tar.bz2
rockbox-cb7e88d3b677dee6948608c944eded256acf37fd.zip
Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19717 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/s3c2440/gigabeat-fx/system-meg-fx.c2
-rw-r--r--firmware/target/arm/tms320dm320/system-dm320.c5
2 files changed, 6 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/system-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/system-meg-fx.c
index 61b4653726..700903b768 100644
--- a/firmware/target/arm/s3c2440/gigabeat-fx/system-meg-fx.c
+++ b/firmware/target/arm/s3c2440/gigabeat-fx/system-meg-fx.c
@@ -114,7 +114,7 @@ void system_reboot(void)
void system_exception_wait(void)
{
INTMSK = 0xFFFFFFFF;
- while (GPGDAT & (1 << 0)) == 0); /* Wait for power button */
+ while ((GPGDAT & (1 << 0)) == 0); /* Wait for power button */
}
static void set_page_tables(void)
diff --git a/firmware/target/arm/tms320dm320/system-dm320.c b/firmware/target/arm/tms320dm320/system-dm320.c
index f8cdd5b93e..e8d732351f 100644
--- a/firmware/target/arm/tms320dm320/system-dm320.c
+++ b/firmware/target/arm/tms320dm320/system-dm320.c
@@ -186,6 +186,11 @@ void system_reboot(void)
);
}
+void system_exception_wait(void)
+{
+ while (1);
+}
+
void system_init(void)
{
/* taken from linux/arch/arm/mach-itdm320-20/irq.c */