Skip to content

Commit

Permalink
[S390] vdso: remove redundant check for CONFIG_64BIT
Browse files Browse the repository at this point in the history
This is a check for CONFIG_64BIT inside a block that is only active when
CONFIG_64BIT is set. So the check is actually useless and potentially
irritating.

Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Christoph Egger authored and Martin Schwidefsky committed May 17, 2010
1 parent 58ea91c commit a78f1c4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/s390/kernel/vdso.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

int vdso_alloc_per_cpu(int cpu, struct _lowcore *lowcore)
{
Expand Down

0 comments on commit a78f1c4

Please sign in to comment.