summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/include/asm/bug.h')
-rw-r--r--arch/blackfin/include/asm/bug.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/bug.h b/arch/blackfin/include/asm/bug.h
index 655e495..75f6dc3 100644
--- a/arch/blackfin/include/asm/bug.h
+++ b/arch/blackfin/include/asm/bug.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright 2004-2009 Analog Devices Inc.
+ *
+ * Licensed under the GPL-2 or later.
+ */
+
#ifndef _BLACKFIN_BUG_H
#define _BLACKFIN_BUG_H
@@ -41,7 +47,7 @@
#define BUG() \
do { \
_BUG_OR_WARN(0); \
- for (;;); \
+ unreachable(); \
} while (0)
#define WARN_ON(condition) \
OpenPOWER on IntegriCloud