move KERNEL_VERSION define, changing CONFIG_LOCALVERSION rebuilds too many files

From: Olaf Hering
Date: Wed Jul 06 2005 - 15:53:14 EST



changing the CONFIG_LOCALVERSION string will trigger a rebuild of way
too many files, for no good reason. Looking over 2.6.13-rc2, almost no
#include <linux/version.h> is valid.

a few drivers need the KERNEL_VERSION macro to define their own version.
Unfortunately, this macro is in linux/version.h.
Where should I move/copy this simple macro? uts.h, utsname.h, kernel.h?

example users:

include/media/saa7146.h
drivers/media/video/bttvp.h
drivers/media/video/cx88/cx88.h
drivers/media/video/saa7134/saa7134.h
drivers/video/matrox/matroxfb_base.c


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/