mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 10:01:32 +00:00
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
b1b4e89a0f
"Add LZO decompressor support".
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
This commit is contained in:
parent
0d4c1c91bb
commit
25b26ec69f
1 changed files with 0 additions and 3 deletions
|
@ -1,9 +1,6 @@
|
||||||
#ifndef _LINUX_UNALIGNED_GENERIC_H
|
#ifndef _LINUX_UNALIGNED_GENERIC_H
|
||||||
#define _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
|
* Cause a link-time error if we try an unaligned access other than
|
||||||
* 1,2,4 or 8 bytes long
|
* 1,2,4 or 8 bytes long
|
||||||
|
|
Loading…
Add table
Reference in a new issue