On 09/04/14 08:46, Sudeep Holla wrote:
> From: Sudeep Holla <sudeep.ho...@arm.com>
>
> Many sysfs *_show function use cpu{list,mask}_scnprintf to copy cpumap
> to the buffer aligned to PAGE_SIZE, append '\n' and '\0' to return null
> terminated buffer with newline.
>
> This patch creates a new helper function cpumap_print_to_pagebuf in
> cpumask.h using newly added bitmap_print_to_pagebuf and consolidates
> most of those sysfs functions using the new helper function.
>
> Signed-off-by: Sudeep Holla <sudeep.ho...@arm.com>
> Suggested-by: Stephen Boyd <sb...@codeaurora.org>
> Acked-by: "Rafael J. Wysocki" <r...@rjwysocki.net>
> Acked-by: Bjorn Helgaas <bhelg...@google.com>
> Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
> Cc: Peter Zijlstra <a.p.zijls...@chello.nl>
> Cc: x...@kernel.org
> Cc: linux-a...@vger.kernel.org
> Cc: linux-...@vger.kernel.org
>

Tested-by: Stephen Boyd <sb...@codeaurora.org>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to