[LinuxBIOS] [PATCH] fix getpir with bit userspace

Rudolf Marek r.marek at assembler.cz
Fri Apr 6 00:10:22 CEST 2007


attached patch fixes SIGSEGV with 64-bit userspace. The memmem is implicit with 
int but it get signed extended when cast to rt. Cannot include correct headers
because of the kernel one. I also fixed the print output (it should not hurt).

Signed-off-by: Rudolf Marek <r.marek at assembler.cz>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixpir.patch
Type: text/x-patch
Size: 826 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20070406/3d8cfc6e/attachment.patch>

More information about the coreboot mailing list