X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-x86_64%2Ffixmap.h;h=0b4ffbd1a12521a2fab5be65938f87f3348a1004;hb=4a31e348e3ecaf54c50240109ac4574b180f8840;hp=a582cfcf2231a631564bac9aeda0a4422d8f0ca6;hpb=8d3ef7461c2460c1bc02c63279b638fae80bba37;p=linux-2.6 diff --git a/include/asm-x86_64/fixmap.h b/include/asm-x86_64/fixmap.h index a582cfcf22..0b4ffbd1a1 100644 --- a/include/asm-x86_64/fixmap.h +++ b/include/asm-x86_64/fixmap.h @@ -11,7 +11,6 @@ #ifndef _ASM_FIXMAP_H #define _ASM_FIXMAP_H -#include #include #include #include @@ -76,7 +75,7 @@ extern void __this_fixmap_does_not_exist(void); * directly without translation, we catch the bug with a NULL-deference * kernel oops. Illegal ranges of incoming indices are caught too. */ -static inline unsigned long fix_to_virt(const unsigned int idx) +static __always_inline unsigned long fix_to_virt(const unsigned int idx) { /* * this branch gets completely eliminated after inlining,