Heiko Carstens
5b99cd0eff
[PATCH] own header file for struct page
...
This moves the definition of struct page from mm.h to its own header file
page-struct.h. This is a prereq to fix SetPageUptodate which is broken on
s390:
#define SetPageUptodate(_page)
do {
struct page *__page = (_page);
if (!test_and_set_bit(PG_uptodate, &__page->flags))
page_test_and_clear_dirty(_page);
} while (0)
_page gets used twice in this macro which can cause subtle bugs. Using
__page for the page_test_and_clear_dirty call doesn't work since it causes
yet another problem with the page_test_and_clear_dirty macro as well.
In order to avoid all these problems caused by macros it seems to be a good
idea to get rid of them and convert them to static inline functions.
Because of header file include order it's necessary to have a seperate
header file for the struct page definition.
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com >
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com >
Cc: Roman Zippel <zippel@linux-m68k.org >
Signed-off-by: Andrew Morton <akpm@osdl.org >
Signed-off-by: Linus Torvalds <torvalds@osdl.org >
2006-09-27 08:26:12 -07:00
..
2006-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00
2006-09-24 19:28:47 -07:00
2006-09-22 14:55:33 -07:00
2006-09-19 12:43:58 +01:00
2006-09-22 15:20:20 -07:00
2006-09-22 14:55:33 -07:00
2006-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00
2006-09-22 23:25:01 -04:00
2006-09-19 12:43:58 +01:00
2006-09-19 12:43:58 +01:00
2006-09-24 11:13:19 -04:00
2006-09-26 17:43:53 -07:00
2006-09-11 13:32:30 -04:00
2006-09-23 21:03:52 -05:00
2006-09-26 08:48:45 -07:00
2006-09-24 11:13:19 -04:00
2006-09-25 21:08:39 -07:00
2006-09-26 08:49:03 -07:00
2006-09-26 08:48:59 -07:00
2006-09-21 11:46:23 +10:00
2006-09-22 23:24:30 -04:00
2006-09-24 17:56:32 -03:00
2006-09-25 21:08:40 -07:00
2006-09-26 10:52:38 +02:00
2006-09-24 11:13:19 -04:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:56 -07:00
2006-09-24 11:13:19 -04:00
2006-09-27 08:26:10 -07:00
2006-09-27 08:26:10 -07:00
2006-09-27 08:26:09 -07:00
2006-09-22 15:18:10 -07:00
2006-09-22 15:18:47 -07:00
2006-09-24 13:50:45 -07:00
2006-09-22 15:18:51 -07:00
2006-09-26 10:52:28 +02:00
2006-09-26 08:48:50 -07:00
2006-09-26 08:48:46 -07:00
2006-09-26 15:38:51 -07:00
2006-09-26 15:38:52 -07:00
2006-09-26 15:38:52 -07:00
2006-09-22 15:20:29 -07:00
2006-09-22 14:53:50 -07:00
2006-09-22 15:07:00 -07:00
2006-09-22 15:18:29 -07:00
2006-09-22 15:18:01 -07:00
2006-09-22 14:53:32 -07:00
2006-09-22 15:20:25 -07:00
2006-09-26 08:48:53 -07:00
2006-09-24 11:13:19 -04:00
2006-09-27 08:26:10 -07:00
2006-09-24 11:13:19 -04:00
2006-09-26 10:52:42 +02:00
2006-09-24 22:06:48 +01:00
2006-09-26 13:07:55 -07:00
2006-09-25 21:08:39 -07:00
2006-09-25 15:33:09 -04:00
2006-09-26 10:52:34 +02:00
2006-09-24 11:13:19 -04:00
2006-09-26 08:48:47 -07:00
2006-09-24 11:13:19 -04:00
2006-09-27 08:26:12 -07:00
2006-09-27 08:26:12 -07:00
2006-09-27 08:26:12 -07:00
2006-09-20 15:58:25 +02:00
2006-09-24 11:13:19 -04:00
2006-09-24 11:13:19 -04:00
2006-09-22 14:54:04 -07:00
2006-09-22 14:54:20 -07:00
2006-09-24 10:15:13 -07:00
2006-09-22 15:18:31 -07:00
2006-09-22 15:19:51 -07:00
2006-09-22 14:53:54 -07:00
2006-09-22 23:24:54 -04:00
2006-09-24 11:13:19 -04:00
2006-09-22 23:24:32 -04:00
2006-09-22 23:24:53 -04:00
2006-09-26 08:48:49 -07:00
2006-09-26 08:48:48 -07:00
2006-09-27 08:09:15 -07:00
2006-09-26 17:43:52 -07:00
2006-09-26 17:43:54 -07:00
2006-09-26 17:43:53 -07:00
2006-09-26 08:48:47 -07:00
2006-09-22 15:18:12 -07:00
2006-09-25 21:08:38 -07:00
2006-09-25 21:08:37 -07:00
2006-09-24 11:13:19 -04:00
2006-09-24 11:13:19 -04:00
2006-09-24 11:13:19 -04:00
2006-09-26 08:49:04 -07:00
2006-09-26 08:48:44 -07:00
2006-09-22 14:55:02 -07:00
2006-09-21 11:46:16 +10:00
2006-09-26 10:52:38 +02:00
2006-09-22 14:53:36 -07:00
2006-09-26 08:48:52 -07:00
2006-09-22 14:53:53 -07:00
2006-09-27 08:26:11 -07:00
2006-09-24 11:13:19 -04:00
2006-09-26 08:48:56 -07:00
2006-09-22 14:55:16 -07:00
2006-09-26 10:52:34 +02:00
2006-09-22 08:00:42 +01:00
2006-09-26 08:49:02 -07:00
2006-09-26 08:48:58 -07:00
2006-09-26 10:52:28 +02:00
2006-09-26 13:07:55 -07:00
2006-09-25 21:08:39 -07:00
2006-09-13 07:32:15 -07:00
2006-09-24 11:13:19 -04:00
2006-09-26 10:52:37 +02:00
2006-09-26 08:48:45 -07:00
2006-09-26 08:48:47 -07:00
2006-09-26 08:48:44 -07:00
2006-09-22 15:08:35 -07:00