This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/include/linux
Andy Whitcroft 540557b943 sparsemem: record when a section has a valid mem_map
We have flags to indicate whether a section actually has a valid mem_map
associated with it.  This is never set and we rely solely on the present bit
to indicate a section is valid.  By definition a section is not valid if it
has no mem_map and there is a window during init where the present bit is set
but there is no mem_map, during which pfn_valid() will return true
incorrectly.

Use the existing SECTION_HAS_MEM_MAP flag to indicate the presence of a valid
mem_map.  Switch valid_section{,_nr} and pfn_valid() to this bit.  Add a new
present_section{,_nr} and pfn_present() interfaces for those users who care to
know that a section is going to be valid.

[akpm@linux-foundation.org: coding-syle fixes]
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Andi Kleen <ak@suse.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-16 09:42:51 -07:00
..
2007-10-09 19:59:16 -07:00
2007-09-24 07:15:48 +02:00
2007-09-23 22:17:27 +02:00
2007-10-10 16:53:11 -07:00
2007-10-15 17:56:36 -07:00
2007-09-11 04:22:16 -07:00
2007-07-19 10:04:43 -07:00
2007-10-10 16:51:59 -07:00
2007-10-10 16:49:02 -07:00
2007-07-19 10:04:45 -07:00
2007-07-31 10:43:05 -05:00
2007-05-07 12:13:00 -07:00
2007-07-10 17:18:59 -07:00
2007-07-16 09:05:46 -07:00
2007-07-17 10:23:04 -07:00
2007-05-10 18:24:13 +02:00
2007-05-08 11:15:25 -07:00
2007-05-08 11:15:26 -07:00
2007-07-09 08:22:54 +01:00
2007-07-09 08:23:17 +01:00
2007-07-19 10:04:54 -07:00
2007-07-12 10:55:56 -07:00
2007-07-17 10:23:06 -07:00
2007-06-01 08:18:29 -07:00
2007-07-16 09:05:52 -07:00
2007-05-09 08:57:56 +02:00
2007-07-16 09:05:52 -07:00
2007-07-18 09:15:20 -04:00
2007-07-18 09:15:20 -04:00
2007-07-17 10:23:13 -07:00
2007-07-16 09:05:45 -07:00
2007-07-18 18:29:37 -04:00
2007-07-16 09:05:41 -07:00
2007-06-18 09:48:41 -07:00
2007-07-17 10:22:59 -07:00
2007-07-10 00:35:17 -04:00
2007-07-09 18:51:58 +02:00
2007-07-19 10:04:41 -07:00
2007-10-13 23:56:33 +02:00
2007-07-16 09:05:34 -07:00
2007-10-10 16:51:59 -07:00
2007-07-14 18:55:06 -07:00
2007-10-10 16:52:04 -07:00
2007-10-14 12:41:52 -07:00
2007-07-16 09:05:50 -07:00
2007-07-16 09:05:47 -07:00
2007-07-31 15:39:41 -07:00
2007-10-15 17:56:36 -07:00
2007-07-11 15:03:53 +01:00
2007-10-16 09:42:49 -07:00
2007-08-26 18:35:34 -07:00
2007-07-18 08:47:40 -07:00
2007-10-12 14:51:12 -07:00
2007-05-09 12:30:53 -07:00
2007-10-13 10:18:29 +02:00
2007-09-11 22:24:45 +01:00
2007-07-17 10:23:03 -07:00
2007-07-17 10:23:13 -07:00
2007-05-18 20:46:30 -07:00
2007-07-24 12:24:59 -07:00
2007-07-16 09:05:34 -07:00
2007-07-18 08:47:45 -07:00
2007-05-08 11:15:18 -07:00
2007-05-09 12:30:49 -07:00
2007-10-10 16:54:03 -07:00
2007-07-16 09:05:42 -07:00
2007-10-11 22:11:12 +02:00
2007-07-19 10:04:45 -07:00
2007-07-16 09:05:51 -07:00
2007-05-09 12:30:54 -07:00
2007-10-09 17:15:11 -04:00
2007-07-20 13:41:56 +10:00
2007-05-08 11:15:05 -07:00
2007-05-08 11:15:05 -07:00
2007-10-16 09:42:50 -07:00
2007-05-08 11:15:14 -07:00
2007-07-26 11:35:21 -07:00
2007-07-26 11:35:21 -07:00
2007-05-08 11:14:57 -07:00
2007-07-16 09:05:50 -07:00
2007-07-16 09:05:46 -07:00
2007-07-17 10:23:03 -07:00
2007-05-07 12:12:54 -07:00
2007-05-09 08:57:56 +02:00
2007-07-18 08:47:40 -07:00
2007-07-21 18:37:10 -07:00
2007-05-17 05:23:06 -07:00
2007-05-08 11:15:18 -07:00
2007-07-16 09:05:50 -07:00
2007-10-16 09:42:50 -07:00
2007-07-22 11:03:37 -07:00
2007-09-20 13:19:59 -07:00
2007-07-20 12:33:44 -07:00
2007-05-21 21:47:27 -07:00
2007-07-16 09:05:45 -07:00
2007-07-16 09:05:46 -07:00
2007-07-19 10:04:49 -07:00
2007-07-16 09:05:40 -07:00
2007-05-08 11:15:18 -07:00
2007-07-18 08:47:40 -07:00
2007-05-09 12:30:57 -07:00
2007-05-11 08:29:34 -07:00
2007-07-31 15:39:39 -07:00
2007-10-12 14:51:12 -07:00
2007-10-15 12:59:43 -07:00
2007-05-11 08:29:36 -07:00
2007-07-20 11:23:02 -07:00
2007-05-11 08:29:35 -07:00
2007-05-11 08:29:35 -07:00
2007-07-18 15:57:15 -07:00
2007-09-19 11:24:18 -07:00
2007-07-17 10:22:59 -07:00
2007-07-09 18:52:01 +02:00