| .. | .. |
|---|
| 243 | 243 | } |
|---|
| 244 | 244 | #endif |
|---|
| 245 | 245 | |
|---|
| 246 | | -static inline bool is_ttbr0_addr(unsigned long addr) |
|---|
| 246 | +static __always_inline bool is_ttbr0_addr(unsigned long addr) |
|---|
| 247 | 247 | { |
|---|
| 248 | 248 | /* entry assembly clears tags for TTBR0 addrs */ |
|---|
| 249 | 249 | return addr < TASK_SIZE; |
|---|
| 250 | 250 | } |
|---|
| 251 | 251 | |
|---|
| 252 | | -static inline bool is_ttbr1_addr(unsigned long addr) |
|---|
| 252 | +static __always_inline bool is_ttbr1_addr(unsigned long addr) |
|---|
| 253 | 253 | { |
|---|
| 254 | 254 | /* TTBR1 addresses may have a tag if KASAN_SW_TAGS is in use */ |
|---|
| 255 | 255 | return arch_kasan_reset_tag(addr) >= PAGE_OFFSET; |
|---|