Module Name:    src
Committed By:   joerg
Date:           Sun Dec  1 02:52:53 UTC 2013

Modified Files:
        src/sys/arch/evbarm/stand/boot2440: main.c

Log Message:
Inform compiler that the volatile assignment will terminate the function.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/evbarm/stand/boot2440/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbarm/stand/boot2440/main.c
diff -u src/sys/arch/evbarm/stand/boot2440/main.c:1.3 src/sys/arch/evbarm/stand/boot2440/main.c:1.4
--- src/sys/arch/evbarm/stand/boot2440/main.c:1.3	Mon Nov  4 21:54:59 2013
+++ src/sys/arch/evbarm/stand/boot2440/main.c	Sun Dec  1 02:52:53 2013
@@ -498,6 +498,7 @@ _rtt()
 	*(volatile uint32_t *)(S3C2440_WDT_BASE + WDT_WTCON) =
 		(0 << WTCON_PRESCALE_SHIFT) | WTCON_ENABLE |
 		WTCON_CLKSEL_16 | WTCON_ENRST;
+	__builtin_unreachable();
 }
 
 void

Reply via email to