remove __KERNEL__ tests of unexported headers under asm-generic/
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
735643ee6c
commit
ae50884f66
@@ -1,7 +1,6 @@
|
||||
#ifndef _ASM_GENERIC_PAGE_H
|
||||
#define _ASM_GENERIC_PAGE_H
|
||||
|
||||
#ifdef __KERNEL__
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
#include <linux/compiler.h>
|
||||
@@ -21,6 +20,5 @@ static __inline__ __attribute_const__ int get_order(unsigned long size)
|
||||
}
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
#endif /* __KERNEL__ */
|
||||
|
||||
#endif /* _ASM_GENERIC_PAGE_H */
|
||||
|
Reference in New Issue
Block a user