Home
last modified time | relevance | path

Searched hist:"2 d6cd2a5" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/s390/include/asm/
H A Dbug.h2d6cd2a5 Thu Dec 25 06:39:17 CST 2008 Martin Schwidefsky <schwidefsky@de.ibm.com> [S390] remove warnings with functions ending in BUG

Functions which end in a BUG() statement and skip the return statement
cause compile warnings on s390, e.g.:

mm/bootmem.c: In function 'mark_bootmem':
mm/bootmem.c:321: warning: control reaches end of non-void function

To avoid the warning add an endless loop to the BUG() macro.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2d6cd2a5 Thu Dec 25 06:39:17 CST 2008 Martin Schwidefsky <schwidefsky@de.ibm.com> [S390] remove warnings with functions ending in BUG

Functions which end in a BUG() statement and skip the return statement
cause compile warnings on s390, e.g.:

mm/bootmem.c: In function 'mark_bootmem':
mm/bootmem.c:321: warning: control reaches end of non-void function

To avoid the warning add an endless loop to the BUG() macro.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>