diff options
author | Al Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2005-08-28 04:19:14 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-29 19:42:39 +0200 |
commit | 9e2d3cd34a159948dc753a14573e16bffc04dba8 (patch) | |
tree | 155627810033ac56d06734360c56b612f08b9134 /drivers/media/dvb/frontends/tda80xx.c | |
parent | [PATCH] new name for 2.6.14 (diff) | |
download | linux-9e2d3cd34a159948dc753a14573e16bffc04dba8.tar.xz linux-9e2d3cd34a159948dc753a14573e16bffc04dba8.zip |
[PATCH] mod_devicetable.h fixes
* ieee1394_device_id has kernel_ulong_t field after an odd number of
__u32 ones. Since mod_devicetable.h is included both from kernel and
from host build helper, we may be in trouble if we are building on
32bit host for 64bit target - userland sees unsigned long long,
kernel sees unsigned long and while their sizes match, alignments
might not. Fixed by forcing alignment. Fortunately, almost nobody
else needs that - the rest of such fields is naturally aligned as it
is.
* of_device_id has void * in it. Host userland helpers need
kernel_ulong_t instead, since their void * might have nothing to do
with the kernel one. Fixed in the same way it's done for similar
problems in pcmcia_device_id (ifdef __KERNEL__).
* pcmcia_device_id has the same problem as ieee1394_device_id. Fixed
the same way.
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions