Re: [PATCH 1/2] asm/sections: Add helpers to check for section data

2015-11-05 Thread Andrew Morton
On Thu, 29 Oct 2015 09:26:06 +0100 Thierry Reding wrote: > From: Thierry Reding > > Add a helper to check if an object (given an address and a size) is part > of a section (given beginning and end addresses). For convenience, also > provide a helper that performs this check for __init data usi

[PATCH 1/2] asm/sections: Add helpers to check for section data

2015-10-29 Thread Thierry Reding
From: Thierry Reding Add a helper to check if an object (given an address and a size) is part of a section (given beginning and end addresses). For convenience, also provide a helper that performs this check for __init data using the __init_begin and __init_end limits. Signed-off-by: Thierry Red