summaryrefslogtreecommitdiff
path: root/kexec/kexec.h
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2007-05-09 14:40:27 -0700
committerSimon Horman <horms@verge.net.au>2007-05-10 11:52:20 +0900
commit13ceb63c96c26e1964dea12576d7245853a83842 (patch)
treed38759d98ae1f3818aade6c500b216a1a25f5d7d /kexec/kexec.h
parente6a23f7d355685f01f6a4ce7c9d37deb7458cf90 (diff)
kexec rename dprintf to dbgprintf
The recently introduce kexec debug routine dprintf clashes with an existing libc symbol. Rename dprintf to dbgprintf. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.h')
-rw-r--r--kexec/kexec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/kexec.h b/kexec/kexec.h
index 6bb81a0..2ec706f 100644
--- a/kexec/kexec.h
+++ b/kexec/kexec.h
@@ -218,10 +218,10 @@ int parse_iomem_single(char *str, uint64_t *start, uint64_t *end);
#define MAX_LINE 160
#ifdef DEBUG
-#define dprintf(_args...) do {printf(_args);} while(0)
+#define dbgprintf(_args...) do {printf(_args);} while(0)
#else
static inline int __attribute__ ((format (printf, 1, 2)))
- dprintf(const char *fmt, ...) {return 0;}
+ dbgprintf(const char *fmt, ...) {return 0;}
#endif
#endif /* KEXEC_H */