diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-04-22 18:48:03 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-04-25 12:04:39 +0100 |
commit | c8f8cca483aa3ec1beb63ee8633de9c76bb3fe6f (patch) | |
tree | 0f49b4f28bb40f51a4c8dfc60a7b764bf2c5a35a /lib/percpu-refcount.c | |
parent | 1dff8083a024650c75a9c961c38082473ceae8cf (diff) |
arm64: ptdump: use static initializers for vmemmap region boundaries
There is no need to initialize the vmemmap region boundaries dynamically,
since they are compile time constants. So just add these constants to the
global struct initializer, and drop the dynamic assignment and related code.
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'lib/percpu-refcount.c')
0 files changed, 0 insertions, 0 deletions