[SeaBIOS] [PATCH 1/4] Add basic linked list operations

2012-03-27 Thread Alexey Korolev
This linked list implementation is partially based on kernel code. So it should be quite stable Signed-off-by: Alexey Korolev --- src/util.h | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/src/util.h b/src/util.h index 70d3c4c..17df3cf 100644 --- a/s

Re: [SeaBIOS] [PATCH 1/4] Add basic linked list operations

2012-03-28 Thread Gerd Hoffmann
On 03/28/12 06:28, Alexey Korolev wrote: > This linked list implementation is partially based on kernel code. So it > should be quite stable How about just copying the file? I've used the linux kernel list implementation elsewhere too and it worked just fine with only minor tweaks (remove some li

Re: [SeaBIOS] [PATCH 1/4] Add basic linked list operations

2012-03-28 Thread Alexey Korolev
>> This linked list implementation is partially based on kernel code. So it >> should be quite stable > How about just copying the file? > > I've used the linux kernel list implementation elsewhere too and it > worked just fine with only minor tweaks (remove some likely()/unlikely() > macros IIRC)

Re: [SeaBIOS] [PATCH 1/4] Add basic linked list operations

2012-03-28 Thread Kevin O'Connor
On Wed, Mar 28, 2012 at 04:39:07PM +0200, Gerd Hoffmann wrote: > On 03/28/12 06:28, Alexey Korolev wrote: > > This linked list implementation is partially based on kernel code. So it > > should be quite stable > > How about just copying the file? > > I've used the linux kernel list implementation

Re: [SeaBIOS] [PATCH 1/4] Add basic linked list operations

2012-03-29 Thread Ian Campbell
On Wed, 2012-03-28 at 22:27 -0400, Kevin O'Connor wrote: > On Wed, Mar 28, 2012 at 04:39:07PM +0200, Gerd Hoffmann wrote: > > On 03/28/12 06:28, Alexey Korolev wrote: > > > This linked list implementation is partially based on kernel code. So it > > > should be quite stable > > > > How about just