Red Hat Bugzilla – Bug 590760
compiling a xen config produces lots of pud_present warnings
Last modified: 2011-01-13 16:31:04 EST
Description of problem:
Using a kernel xen config to compile produces a huge amount of compiler
warnings, such that it makes it hard to see if any changes my patch created
causes any new warnings.
The warning is
include/asm/mach-xen/asm/pgtable.h: In function ‘pud_present’:
include/asm/mach-xen/asm/pgtable.h:102: warning: ‘pud_val’ is static but
used in inline function ‘pud_present’ which is not static
A simple fix corrects the problem and life is happy again.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
You can download this test kernel from http://people.redhat.com/jwilson/el5
Detailed testing feedback is always welcomed.
Verified in 2.6.18-212.el5.
Compiling kernel with xen config, no warning looking like the one from bug description is printed. Although compiling -211.el5 kernel does not reproduce.
Also verified the patch went to 212.el5.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.