Adapt log buffer code to support Linux 2.6
authorIgor Lisitsin <igor@emcraft.com>
Wed, 18 Apr 2007 10:55:19 +0000 (14:55 +0400)
committerWolfgang Denk <wd@denx.de>
Fri, 22 Jun 2007 21:25:25 +0000 (23:25 +0200)
commit2dc64451b4c08ffd619372abfdc2506a2e2363b9
treecca4085d5f002307effed1545665ea81c342d25f
parenta11e06965ec91270c51853407ff1261d3c740386
Adapt log buffer code to support Linux 2.6

A new environment variable, "logversion", selects the log buffer
behaviour. If it is not set or set to a value other than 2, then the
old, Linux 2.4.4, behaviour is selected.

Signed-off-by: Igor Lisitsin <igor@emcraft.com>
--
common/cmd_log.c
include/logbuff.h