diff options
| author | Andrew Morton <akpm@digeo.com> | 2002-11-25 17:56:37 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-11-25 17:56:37 -0800 |
| commit | 3b99bbbf56153b9146745ff96dafeef9a94d94ef (patch) | |
| tree | 85991d250295588067f780c143abc86a397ec0e4 /include/linux | |
| parent | 6e2db78b64622ff51eb9e161fb9e2f4a48d7d851 (diff) | |
[PATCH] misc fixes
- Missing parentheses around macro arg in __pte_offest()
- struct page_state needs to be cacheline aligned (the first seven
fields should be in the same cacheline)
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/page-flags.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index f02449871c07..f8aaadb1691e 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -6,6 +6,7 @@ #define PAGE_FLAGS_H #include <linux/percpu.h> +#include <linux/cache.h> /* * Various page->flags bits: @@ -106,7 +107,7 @@ struct page_state { unsigned long kswapd_steal; unsigned long pageoutrun; unsigned long allocstall; -}; +} ____cacheline_aligned; DECLARE_PER_CPU(struct page_state, page_states); |
