From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932178AbcAYVss (ORCPT ); Mon, 25 Jan 2016 16:48:48 -0500 Received: from prod-mail-xrelay05.akamai.com ([23.79.238.179]:50573 "EHLO prod-mail-xrelay05.akamai.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750972AbcAYVsp (ORCPT ); Mon, 25 Jan 2016 16:48:45 -0500 From: Jason Baron To: akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, joe@perches.com, peterz@infradead.org Subject: [PATCH 0/3] convert dynamic_debug to use jump labels Date: Mon, 25 Jan 2016 16:48:09 -0500 Message-Id: X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, In the course of adding jump label support to dynamic_debug (patch #3), I found the inclusion of by to problematic b/c it includes (thus, creating circular include dependencies). Thus, patch #1 splits jump_label.h such that 'struct static_key' and static_branch_[un]likely() can be used with minimail dependencies. I think this is consistent with how this facility is often used, and should be useful for other use-cases as well. Patch #2 was required to get powerpc to compile. Thanks, -Jason Jason Baron (3): jump_label: create jump_label_branch.h powerpc: add explicit #include for jump label dynamic_debug: add jump label support arch/powerpc/include/asm/jump_label.h | 1 + include/linux/dynamic_debug.h | 54 ++++++++- include/linux/jump_label.h | 181 +------------------------------ include/linux/jump_label_branch.h | 199 ++++++++++++++++++++++++++++++++++ lib/dynamic_debug.c | 7 ++ 5 files changed, 260 insertions(+), 182 deletions(-) create mode 100644 include/linux/jump_label_branch.h -- 2.6.1