lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 29 Dec 2014 11:03:24 +0100
From:	Martin Schwidefsky <>
To:	Pranith Kumar <>
Cc:	Benjamin Herrenschmidt <>,
	Paul Mackerras <>,
	Michael Ellerman <>,
	Heiko Carstens <>, (supporter:S390),
	Lai Jiangshan <>,
	"Paul E. McKenney" <>,
	Josh Triplett <>,
	Steven Rostedt <>,
	Mathieu Desnoyers <>,
	Anton Blanchard <>,
	Scott Wood <>,
	Andy Fleming <>,
	Tiejun Chen <>,
	Daniel Walter <>,
	Jens Freimann <>,
	Christian Borntraeger <>, (open list:LINUX FOR POWERPC...), (open list), (open list:S390)
Subject: Re: [PATCH] srcu: Isolate srcu sections using CONFIG_SRCU

On Sat, 27 Dec 2014 12:17:43 -0500
Pranith Kumar <> wrote:

> @@ -65,10 +65,13 @@
>  #include <asm/kexec.h>
>  #include <asm/mmu_context.h>
>  #include <asm/code-patching.h>
> -#include <asm/kvm_ppc.h>
>  #include <asm/hugetlb.h>
>  #include <asm/epapr_hcalls.h>
> +#include <asm/kvm_ppc.h>
> +#endif
> +
>  #ifdef DEBUG
>  #define DBG(fmt...) udbg_printf(fmt)
>  #else

I always cringe when I see an include protected by an #ifdef.
Is this really necessary? All that is done in asm-offsets.c is
to calculate offsets, the code where the two offsets in question
are used (entry64.S) does have the #ifdef for CONFIG_KVM.

blue skies,

"Reality continues to ruin my life." - Calvin.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists