* [Fwd: [PATCH 0/82] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason.]
@ 2005-07-12 16:51 Mauro Carvalho Chehab
2005-07-12 23:57 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2005-07-12 16:51 UTC (permalink / raw)
To: Andrew Morton; +Cc: Olaf Hering, linux-kernel
Andrew,
Do you intend to apply Olaf's patchsets to eliminate linux/version.h?
Some of them will not apply, because, at -mm2, KERNEL_VERSION isn't used
anymore.
Maybe I can generate a patchset for V4L eliminating version.h, if you
want, against latest version.
Mauro.
-------- Original Message --------
Date: Sun, 10 Jul 2005 19:35:08 +0000
From: Olaf Hering <olh@suse.de>
To: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
The following series of patches removes almost all inclusions
of linux/version.h. The 3 #defines are unused in most of the touched files.
A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is
unfortunatly
in linux/version.h. This define moved to linux/utsname.h
There are also lots of #ifdef for long obsolete kernels, this will go as
well.
quilt vi `find * -type f -name "*.[ch]"|xargs grep -El
'(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep
-Ev '(/(boot|coda|drm)/|~$)'`
search pattern:
/UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/(utsname|version).h
PS: I hope my script is working ok.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Fwd: [PATCH 0/82] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason.]
2005-07-12 16:51 [Fwd: [PATCH 0/82] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason.] Mauro Carvalho Chehab
@ 2005-07-12 23:57 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2005-07-12 23:57 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: olh, linux-kernel
Mauro Carvalho Chehab <mchehab@brturbo.com.br> wrote:
>
> Do you intend to apply Olaf's patchsets to eliminate linux/version.h?
> Some of them will not apply, because, at -mm2, KERNEL_VERSION isn't used
> anymore.
I think they were against -mm. They all applied OK.
> Maybe I can generate a patchset for V4L eliminating version.h, if you
> want, against latest version.
Well the patches are staged after everything else in -mm. After 2.6.13 is
released I guess I'll move them forward, fix stuff up, send them to Linus
and people will fix up any fallout in external trees.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-12 23:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-12 16:51 [Fwd: [PATCH 0/82] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason.] Mauro Carvalho Chehab
2005-07-12 23:57 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox