From: Heiko Carstens <heiko.carstens@de.ibm.com>
To: Jiri Olsa <jolsa@redhat.com>
Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org,
linux@arm.linux.org.uk, ysato@users.sourceforge.jp,
tony.luck@intel.com, dhowells@redhat.com, kyle@mcmartin.ca,
benh@kernel.crashing.org, schwidefsky@de.ibm.com,
jgarzik@pobox.com, hare@suse.de, felipe.balbi@nokia.com
Subject: Re: [PATCH 05/13] s390: removing redundant ifdefs
Date: Fri, 7 May 2010 10:46:31 +0200 [thread overview]
Message-ID: <20100507084631.GA2442@osiris.boeblingen.de.ibm.com> (raw)
In-Reply-To: <1273167377-14270-6-git-send-email-jolsa@redhat.com>
On Thu, May 06, 2010 at 07:36:09PM +0200, Jiri Olsa wrote:
> wbr,
> jirka
>
>
> Signed-off-by: Jiri Olsa <jolsa@redhat.com>
> ---
> arch/s390/include/asm/processor.h | 5 -----
> arch/s390/kernel/vdso.c | 4 ----
> 2 files changed, 0 insertions(+), 9 deletions(-)
>
> diff --git a/arch/s390/include/asm/processor.h b/arch/s390/include/asm/processor.h
> index 73e2598..ced1714 100644
> --- a/arch/s390/include/asm/processor.h
> +++ b/arch/s390/include/asm/processor.h
> @@ -52,8 +52,6 @@ extern int get_cpu_capability(unsigned int *);
>
> #endif /* __s390x__ */
>
> -#ifdef __KERNEL__
> -
> #ifndef __s390x__
> #define STACK_TOP (1UL << 31)
> #define STACK_TOP_MAX (1UL << 31)
> @@ -62,9 +60,6 @@ extern int get_cpu_capability(unsigned int *);
> #define STACK_TOP_MAX (1UL << 42)
> #endif /* __s390x__ */
>
> -
> -#endif
> -
Dunno. This looks a bit pointless. After all any ifdef __KERNEL__ is not
needed for this header file since its not exported.
So removing this ifdef and keep the other one doesn't make too much sense.
> diff --git a/arch/s390/kernel/vdso.c b/arch/s390/kernel/vdso.c
> index 6bc9c19..6b83870 100644
> --- a/arch/s390/kernel/vdso.c
> +++ b/arch/s390/kernel/vdso.c
> @@ -102,11 +102,7 @@ static void vdso_init_per_cpu_data(int cpu, struct vdso_per_cpu_data *vpcd)
> /*
> * Allocate/free per cpu vdso data.
> */
> -#ifdef CONFIG_64BIT
> #define SEGMENT_ORDER 2
> -#else
> -#define SEGMENT_ORDER 1
> -#endif
An identical patch for this hunk is alread pending in the git s390 tree.
next prev parent reply other threads:[~2010-05-07 8:45 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 17:36 [PATCH] " Jiri Olsa
2010-05-06 17:36 ` [PATCH 01/13] kernel/fs/security: " Jiri Olsa
2010-05-06 17:36 ` [PATCH 02/13] ia64: removing redundant ifdef Jiri Olsa
2010-05-06 17:36 ` [PATCH 03/13] arm: removing redundant ifdefs Jiri Olsa
2010-05-06 19:36 ` Russell King - ARM Linux
2010-05-06 17:36 ` [PATCH 04/13] x86: removing redundant ifdef Jiri Olsa
2010-05-06 17:36 ` [PATCH 05/13] s390: removing redundant ifdefs Jiri Olsa
2010-05-07 8:46 ` Heiko Carstens [this message]
2010-05-06 17:36 ` [PATCH 06/13] mn10300: removing redundant ifdef Jiri Olsa
2010-05-06 17:36 ` [PATCH 07/13] h8300: " Jiri Olsa
2010-05-06 17:36 ` [PATCH 08/13] powerpc: removing redundant ifdefs Jiri Olsa
2010-05-06 17:36 ` [PATCH 09/13] parisc: removing redundant ifdef Jiri Olsa
2010-05-06 17:40 ` Kyle McMartin
2010-05-06 17:36 ` [PATCH 10/13] drivers/scsi: " Jiri Olsa
2010-05-06 17:36 ` [PATCH 11/13] drivers/video: removing redundant ifdefs Jiri Olsa
2010-05-06 17:36 ` [PATCH 12/13] drivers/usb/musb: " Jiri Olsa
2010-05-07 5:32 ` Felipe Balbi
2010-05-06 17:36 ` [PATCH 13/13] drivers/ata: removing redundant ifdef Jiri Olsa
2010-05-14 21:32 ` Jeff Garzik
2010-05-06 17:43 ` [PATCH] removing redundant ifdefs Randy Dunlap
2010-05-07 7:59 ` Jiri Olsa
2010-05-06 18:01 ` Russell King - ARM Linux
2010-05-07 8:08 ` Jiri Olsa
2010-05-07 10:11 ` [PATCH 06/13] mn10300: removing redundant ifdef David Howells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100507084631.GA2442@osiris.boeblingen.de.ibm.com \
--to=heiko.carstens@de.ibm.com \
--cc=benh@kernel.crashing.org \
--cc=dhowells@redhat.com \
--cc=felipe.balbi@nokia.com \
--cc=hare@suse.de \
--cc=jgarzik@pobox.com \
--cc=jolsa@redhat.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=kyle@mcmartin.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=schwidefsky@de.ibm.com \
--cc=tony.luck@intel.com \
--cc=ysato@users.sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®