kmemleak: Mark the early log buffer as __initdata
commita6186d89c913b176e7339f37a4ec6ccb38b2c5c0
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 27 Aug 2009 13:29:16 +0000 (27 14:29 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 27 Aug 2009 13:29:16 +0000 (27 14:29 +0100)
tree0639a35036063c1a5f05c68817fbb4c49aeb2bd9
parent189d84ed54bbb05aac5b24d9d784d86c4d37f807
kmemleak: Mark the early log buffer as __initdata

This buffer isn't needed after kmemleak was initialised so it can be
freed together with the .init.data section. This patch also marks
functions conditionally accessing the early log variables with __ref.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
include/linux/kmemleak.h
mm/kmemleak.c