]> git.proxmox.com Git - qemu.git/commitdiff
target-xtensa: add fallthrough markers
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 21 Jan 2013 14:40:04 +0000 (18:40 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 29 Jul 2013 14:24:27 +0000 (18:24 +0400)
Explicitly mark cases where we are deliberately falling through to the
following code.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target-xtensa/op_helper.c

index 4c41de066872bb92f66422de9aed183396cd589f..834fe9087debe23c2b4714dcc58f8f0d5c771d8a 100644 (file)
@@ -448,8 +448,10 @@ void HELPER(check_atomctl)(CPUXtensaState *env, uint32_t pc, uint32_t vaddr)
     switch (access & PAGE_CACHE_MASK) {
     case PAGE_CACHE_WB:
         atomctl >>= 2;
+        /* fall through */
     case PAGE_CACHE_WT:
         atomctl >>= 2;
+        /* fall through */
     case PAGE_CACHE_BYPASS:
         if ((atomctl & 0x3) == 0) {
             HELPER(exception_cause_vaddr)(env, pc,