[tip:locking/core] tools/lib/lockdep: Remove -lpthread compiler option

2017-06-05 Thread tip-bot for Vishal Thanki
Commit-ID: a9b94d283caa55e9d292a29b431940482a433cb3 Gitweb: http://git.kernel.org/tip/a9b94d283caa55e9d292a29b431940482a433cb3 Author: Vishal Thanki <vishaltha...@gmail.com> AuthorDate: Thu, 25 May 2017 12:58:41 + Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Mon

[tip:locking/core] tools/lib/lockdep: Remove -lpthread compiler option

2017-06-05 Thread tip-bot for Vishal Thanki
Commit-ID: a9b94d283caa55e9d292a29b431940482a433cb3 Gitweb: http://git.kernel.org/tip/a9b94d283caa55e9d292a29b431940482a433cb3 Author: Vishal Thanki AuthorDate: Thu, 25 May 2017 12:58:41 + Committer: Ingo Molnar CommitDate: Mon, 5 Jun 2017 09:28:07 +0200 tools/lib/lockdep: Remove

[PATCH v2 2/2] liblockdep: Remove -lpthread compiler option

2016-06-14 Thread Vishal Thanki
With -lpthread option, the test for ABBA_2threads was failing, and test passed if it was removed. Since -pthread compiler option is sufficient for linking to pthread libraries, this patch removes -lpthread. Signed-off-by: Vishal Thanki <vishaltha...@gmail.com> --- tools/lib/lockdep/run_te

[PATCH v2 2/2] liblockdep: Remove -lpthread compiler option

2016-06-14 Thread Vishal Thanki
With -lpthread option, the test for ABBA_2threads was failing, and test passed if it was removed. Since -pthread compiler option is sufficient for linking to pthread libraries, this patch removes -lpthread. Signed-off-by: Vishal Thanki --- tools/lib/lockdep/run_tests.sh | 4 ++-- 1 file changed

[PATCH v2 1/2] liblockdep: Fix compile errors

2016-06-14 Thread Vishal Thanki
-by: Vishal Thanki <vishaltha...@gmail.com> --- tools/lib/lockdep/lockdep.c| 2 +- tools/lib/lockdep/uinclude/linux/bitops.h | 8 +- tools/lib/lockdep/uinclude/linux/compiler.h| 1 + tools/lib/lockdep/uinclude/linux/jhash.h

[PATCH v2 1/2] liblockdep: Fix compile errors

2016-06-14 Thread Vishal Thanki
-by: Vishal Thanki --- tools/lib/lockdep/lockdep.c| 2 +- tools/lib/lockdep/uinclude/linux/bitops.h | 8 +- tools/lib/lockdep/uinclude/linux/compiler.h| 1 + tools/lib/lockdep/uinclude/linux/jhash.h | 175 + tools/lib/lockdep

Re: [PATCH 1/2] liblockdep: Fix compile errors

2016-06-14 Thread Vishal Thanki
On Mon, Jun 13, 2016 at 04:38:01PM -0400, Sasha Levin wrote: > On 06/11/2016 04:36 AM, Vishal Thanki wrote: > > On Sat, Jun 11, 2016 at 5:53 AM, Sasha Levin <sasha.le...@oracle.com> wrote: > >> On 06/09/2016 09:34 AM, Vishal Thanki wrote: > >>> dfaaf3fa0: (Use

Re: [PATCH 1/2] liblockdep: Fix compile errors

2016-06-14 Thread Vishal Thanki
On Mon, Jun 13, 2016 at 04:38:01PM -0400, Sasha Levin wrote: > On 06/11/2016 04:36 AM, Vishal Thanki wrote: > > On Sat, Jun 11, 2016 at 5:53 AM, Sasha Levin wrote: > >> On 06/09/2016 09:34 AM, Vishal Thanki wrote: > >>> dfaaf3fa0: (Use __jhash_mix() for iterate_chai

Re: [PATCH 1/2] liblockdep: Fix compile errors

2016-06-11 Thread Vishal Thanki
On Sat, Jun 11, 2016 at 5:53 AM, Sasha Levin <sasha.le...@oracle.com> wrote: > On 06/09/2016 09:34 AM, Vishal Thanki wrote: >> dfaaf3fa0: (Use __jhash_mix() for iterate_chain_key()) >> Fixed by adding jhash.h with minimal stuff required > > Can we, instead of copyi

Re: [PATCH 1/2] liblockdep: Fix compile errors

2016-06-11 Thread Vishal Thanki
On Sat, Jun 11, 2016 at 5:53 AM, Sasha Levin wrote: > On 06/09/2016 09:34 AM, Vishal Thanki wrote: >> dfaaf3fa0: (Use __jhash_mix() for iterate_chain_key()) >> Fixed by adding jhash.h with minimal stuff required > > Can we, instead of copying it over, include jhash.h direct

[PATCH 2/2] liblockdep: Remove -lpthread compiler option

2016-06-09 Thread Vishal Thanki
With -lpthread option, the test for ABBA_2threads was failing, and test passed if it was removed. Since -pthread compiler option is sufficient for linking to pthread libraries, this patch removes -lpthread. Signed-off-by: Vishal Thanki <vishaltha...@gmail.com> --- tools/lib/lockdep/run_te

[PATCH 2/2] liblockdep: Remove -lpthread compiler option

2016-06-09 Thread Vishal Thanki
With -lpthread option, the test for ABBA_2threads was failing, and test passed if it was removed. Since -pthread compiler option is sufficient for linking to pthread libraries, this patch removes -lpthread. Signed-off-by: Vishal Thanki --- tools/lib/lockdep/run_tests.sh | 4 ++-- 1 file changed

[PATCH 0/2] Fixing the compilation errors for liblockdep

2016-06-09 Thread Vishal Thanki
The patch tries to fix the compilation errors in liblockdep which were introduced due to recent changes in kernel. I am not familiar with the internal working of lockdep, so please suggest if I have done anything wrong while fixing liblockdep errors. Vishal Thanki (2): liblockdep: Fix compile

[PATCH 0/2] Fixing the compilation errors for liblockdep

2016-06-09 Thread Vishal Thanki
The patch tries to fix the compilation errors in liblockdep which were introduced due to recent changes in kernel. I am not familiar with the internal working of lockdep, so please suggest if I have done anything wrong while fixing liblockdep errors. Vishal Thanki (2): liblockdep: Fix compile

[PATCH 1/2] liblockdep: Fix compile errors

2016-06-09 Thread Vishal Thanki
in linux/sched.h Signed-off-by: Vishal Thanki <vishaltha...@gmail.com> --- tools/lib/lockdep/lockdep.c| 2 +- tools/lib/lockdep/uinclude/linux/jhash.h | 20 tools/lib/lockdep/uinclude/linux/kernel.h | 1 + tools/lib/lockdep/uinclude/linux/lockdep.h | 2

[PATCH 1/2] liblockdep: Fix compile errors

2016-06-09 Thread Vishal Thanki
in linux/sched.h Signed-off-by: Vishal Thanki --- tools/lib/lockdep/lockdep.c| 2 +- tools/lib/lockdep/uinclude/linux/jhash.h | 20 tools/lib/lockdep/uinclude/linux/kernel.h | 1 + tools/lib/lockdep/uinclude/linux/lockdep.h | 2 +- 4 files changed, 23