diff options
author | David Miller <davem@davemloft.net> | 2012-04-25 19:41:32 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-07 08:56:34 -0700 |
commit | 9239fabf848397ec26356b5f267c787840ba4bb7 (patch) | |
tree | 2d77d85b7e2ec7ef64e0997af0a3b9218b7b36d2 /virt/kvm | |
parent | 326f0492f8b0d4e3f1e1a7f47eddd0c0f7a644d9 (diff) | |
download | kernel_samsung_espresso10-9239fabf848397ec26356b5f267c787840ba4bb7.zip kernel_samsung_espresso10-9239fabf848397ec26356b5f267c787840ba4bb7.tar.gz kernel_samsung_espresso10-9239fabf848397ec26356b5f267c787840ba4bb7.tar.bz2 |
Fix modpost failures in fedora 17
commit e88aa7bbbe3046a125ea1936b16bb921cc9c6349 upstream.
The symbol table on x86-64 starts to have entries that have names
like:
_GLOBAL__sub_I_65535_0___mod_x86cpu_device_table
They are of type STT_FUNCTION and this one had a length of 18. This
matched the device ID validation logic and it barfed because the
length did not meet the device type's criteria.
--------------------
FATAL: arch/x86/crypto/aesni-intel: sizeof(struct x86cpu_device_id)=16 is not a modulo of the size of section __mod_x86cpu_device_table=18.
Fix definition of struct x86cpu_device_id in mod_devicetable.h
--------------------
These are some kind of compiler tool internal stuff being emitted and
not something we want to inspect in modpost's device ID table
validation code.
So skip the symbol if it is not of type STT_OBJECT.
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions