summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2012-10-29 13:34:25 +0000
committerTom Rini <trini@ti.com>2012-11-04 11:00:34 -0700
commit25b26ec69fb5390ce08601189d8848fcef91b97c (patch)
treef308d425ee4a7b8682f59e062175c259a7bcde00
parent0d4c1c91bb2852ff6f4e46f40e72e74ec10599c5 (diff)
downloadu-boot-imx-25b26ec69fb5390ce08601189d8848fcef91b97c.zip
u-boot-imx-25b26ec69fb5390ce08601189d8848fcef91b97c.tar.gz
u-boot-imx-25b26ec69fb5390ce08601189d8848fcef91b97c.tar.bz2
include/linux/unaligned/generic.h: fix warning: preprocessor token __force redefined
include/linux/unaligned/generic.h:5:9: warning: preprocessor token __force redefined include/linux/compiler.h:10:10: this was the original definition fixup __force definitions in compat.h code appears to be placed there as a cover up from a code import from linux when u-boot didn't yet have a compiler.h, introduced by commit b1b4e89a0f3b75854c39a62cae41bad56d210adf "Add LZO decompressor support". Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
-rw-r--r--include/linux/unaligned/generic.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/unaligned/generic.h b/include/linux/unaligned/generic.h
index cc688e1..02d97ff 100644
--- a/include/linux/unaligned/generic.h
+++ b/include/linux/unaligned/generic.h
@@ -1,9 +1,6 @@
#ifndef _LINUX_UNALIGNED_GENERIC_H
#define _LINUX_UNALIGNED_GENERIC_H
-/* define __force to nothing in U-Boot */
-#define __force
-
/*
* Cause a link-time error if we try an unaligned access other than
* 1,2,4 or 8 bytes long