Skip to content

Commit

Permalink
target-xtensa: add fallthrough markers
Browse files Browse the repository at this point in the history
Explicitly mark cases where we are deliberately falling through to the
following code.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
  • Loading branch information
jcmvbkbc committed Jul 29, 2013
1 parent 7be9d0e commit 5739006
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions target-xtensa/op_helper.c
Expand Up @@ -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,
Expand Down

0 comments on commit 5739006

Please sign in to comment.