Rev 3480 | Rev 5270 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3480 | Rev 4103 | ||
---|---|---|---|
Line 349... | Line 349... | ||
349 | * use is to mediate communication between process-level code and irq/NMI |
349 | * use is to mediate communication between process-level code and irq/NMI |
350 | * handlers, all running on the same CPU. |
350 | * handlers, all running on the same CPU. |
351 | */ |
351 | */ |
352 | #define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x)) |
352 | #define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x)) |
Line -... | Line 353... | ||
- | 353 | ||
- | 354 | /* Ignore/forbid kprobes attach on very low level functions marked by this attribute: */ |
|
- | 355 | #ifdef CONFIG_KPROBES |
|
- | 356 | # define __kprobes __attribute__((__section__(".kprobes.text"))) |
|
- | 357 | #else |
|
- | 358 | # define __kprobes |
|
353 | 359 | #endif |