Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1422218
| From | Sasha Levin <sasha.levin@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/2] liblockdep: Fix compile errors |
| Date | 2016-06-14 20:50 +0200 |
| Message-ID | <rK1zs-bN-25@gated-at.bofh.it> (permalink) |
| References | <rJU4W-3FD-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 06/14/2016 06:49 AM, Vishal Thanki wrote: > diff --git a/tools/lib/lockdep/uinclude/linux/jhash.h b/tools/lib/lockdep/uinclude/linux/jhash.h > new file mode 100644 > index 0000000..348c6f4 > --- /dev/null > +++ b/tools/lib/lockdep/uinclude/linux/jhash.h > @@ -0,0 +1,175 @@ > +#ifndef _LINUX_JHASH_H Oh, we don't need to copy the whole thing. I was thinking about something like: diff --git a/tools/lib/lockdep/uinclude/linux/unaligned/packed_struct.h b/tools/lib/lockdep/uinclude/linux/unaligned/packed_struct.h new file mode 100644 index 0000000..7b204fc --- /dev/null +++ b/tools/lib/lockdep/uinclude/linux/unaligned/packed_struct.h @@ -0,0 +1,2 @@ +#include "../../../include/linux/unaligned/packed_struct.h" for both packed_struct.h and jhash.h. This was we get the advantage of having any fixes to those headers automatically go into liblockdep as well. Thanks, Sasha
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 1/2] liblockdep: Fix compile errors Vishal Thanki <vishalthanki@gmail.com> - 2016-06-14 12:50 +0200 [PATCH v2 2/2] liblockdep: Remove -lpthread compiler option Vishal Thanki <vishalthanki@gmail.com> - 2016-06-14 13:00 +0200 Re: [PATCH v2 1/2] liblockdep: Fix compile errors Sasha Levin <sasha.levin@oracle.com> - 2016-06-14 20:50 +0200
csiph-web