History

include/linux/mm_types.h: ifdef struct vm_area_struct::swap_readahead_info

The field is only used in swap code.

Alexey Dobriyan committed 7 years ago

Commit 219f8a21 parent 442a5a91 file · +2 −0Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/mm_types.h+2−0
@@ -329,7 +329,9 @@ struct vm_area_struct { · 328 unmodified lines
329 struct file * vm_file; /* File we map to (can be NULL). */329 struct file * vm_file; /* File we map to (can be NULL). */
330 void * vm_private_data; /* was vm_pte (shared mem) */330 void * vm_private_data; /* was vm_pte (shared mem) */
331 331
332#ifdef CONFIG_SWAP
332 atomic_long_t swap_readahead_info;333 atomic_long_t swap_readahead_info;
334#endif
333#ifndef CONFIG_MMU335#ifndef CONFIG_MMU
334 struct vm_region *vm_region; /* NOMMU mapping region */336 struct vm_region *vm_region; /* NOMMU mapping region */
335#endif337#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t