File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ DECLARE_PER_CPU(unsigned long, cpu_dr7);
18
18
native_set_debugreg(register, value)
19
19
#endif
20
20
21
- static inline unsigned long native_get_debugreg (int regno )
21
+ static __always_inline unsigned long native_get_debugreg (int regno )
22
22
{
23
23
unsigned long val = 0 ; /* Damn you, gcc! */
24
24
@@ -47,7 +47,7 @@ static inline unsigned long native_get_debugreg(int regno)
47
47
return val ;
48
48
}
49
49
50
- static inline void native_set_debugreg (int regno , unsigned long value )
50
+ static __always_inline void native_set_debugreg (int regno , unsigned long value )
51
51
{
52
52
switch (regno ) {
53
53
case 0 :
@@ -85,7 +85,7 @@ static inline void hw_breakpoint_disable(void)
85
85
set_debugreg (0UL , 3 );
86
86
}
87
87
88
- static inline bool hw_breakpoint_active (void )
88
+ static __always_inline bool hw_breakpoint_active (void )
89
89
{
90
90
return __this_cpu_read (cpu_dr7 ) & DR_GLOBAL_ENABLE_MASK ;
91
91
}
You can’t perform that action at this time.
0 commit comments