From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Gortmaker Subject: [PATCH 06/11] linux/stop_machine.h: fix implicit use of smp.h for smp_processor_id Date: Thu, 28 Jul 2011 01:16:13 -0400 Message-ID: <1311830178-30314-7-git-send-email-paul.gortmaker@windriver.com> References: <1311830178-30314-1-git-send-email-paul.gortmaker@windriver.com> Return-path: In-Reply-To: <1311830178-30314-1-git-send-email-paul.gortmaker@windriver.com> Sender: linux-kernel-owner@vger.kernel.org To: mingo@elte.hu, torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux-arch@vger.kernel.org List-Id: linux-arch.vger.kernel.org This will show up on MIPS when we fix all the implicit header presences that are because of module.h being everywhere. In file included from kernel/trace/ftrace.c:16: include/linux/stop_machine.h: In function 'stop_one_cpu': include/linux/stop_machine.h:50: error: implicit declaration of function 'smp_processor_id' include/linux/stop_machine.h: In function 'stop_cpus': include/linux/stop_machine.h:80: error: implicit declaration of function 'raw_smp_processor_id' Signed-off-by: Paul Gortmaker --- include/linux/stop_machine.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/stop_machine.h b/include/linux/stop_machine.h index 2d04ea9..c170edc 100644 --- a/include/linux/stop_machine.h +++ b/include/linux/stop_machine.h @@ -3,6 +3,7 @@ #include #include +#include #include #include -- 1.7.6 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com ([147.11.1.11]:51307 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754632Ab1G1FQg (ORCPT ); Thu, 28 Jul 2011 01:16:36 -0400 From: Paul Gortmaker Subject: [PATCH 06/11] linux/stop_machine.h: fix implicit use of smp.h for smp_processor_id Date: Thu, 28 Jul 2011 01:16:13 -0400 Message-ID: <1311830178-30314-7-git-send-email-paul.gortmaker@windriver.com> In-Reply-To: <1311830178-30314-1-git-send-email-paul.gortmaker@windriver.com> References: <1311830178-30314-1-git-send-email-paul.gortmaker@windriver.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: mingo@elte.hu, torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, linux-arch@vger.kernel.org Message-ID: <20110728051613.MePw5Izd4pVBA_NzQOBc1FFC8YSM1jQ7Tl61vHTXMyE@z> This will show up on MIPS when we fix all the implicit header presences that are because of module.h being everywhere. In file included from kernel/trace/ftrace.c:16: include/linux/stop_machine.h: In function 'stop_one_cpu': include/linux/stop_machine.h:50: error: implicit declaration of function 'smp_processor_id' include/linux/stop_machine.h: In function 'stop_cpus': include/linux/stop_machine.h:80: error: implicit declaration of function 'raw_smp_processor_id' Signed-off-by: Paul Gortmaker --- include/linux/stop_machine.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/stop_machine.h b/include/linux/stop_machine.h index 2d04ea9..c170edc 100644 --- a/include/linux/stop_machine.h +++ b/include/linux/stop_machine.h @@ -3,6 +3,7 @@ #include #include +#include #include #include -- 1.7.6