Re: [RFC][PATCHSET] PC-9800 architecture (CORE only)

Alan Cox (alan@lxorguk.ukuu.org.uk)
24 Oct 2002 11:45:08 +0100


On Thu, 2002-10-24 at 10:09, Vojtech Pavlik wrote:
> For system resources you simply could allocate 0x00-0x2f and be done
> without the sparse flag, but if there are any other devices that have
> overlapping resources, which need separate drivers (IDE, sound, network,
> ...) then the sparse ioresource flag is indeed needed. Is it so?

Possibly although this is not an entirely unique problem. The other way
would be (post 2.6) to add a mask. That will also let us properly handle
the PCI/ISA partial decode for example.

-
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/


, sizeof count);
printf("sizeof off_t: %d\n", sizeof offset);
return 0;
}
$ make
...
$ ./sendfile_test
sizeof ssize_t: 4
sizeof size_t: 4
sizeof off_t: 4
$

and - when attempting to build this with -D_FILE_OFFSET_BITS=64

[roy@roy-sin micro_httpd-O_DIRECT]$ make sendfile_test
gcc -D_DEBUG -Wall -W -D_GNU_SOURCE -D_NO_DIR_ACCESS -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -DUSE_O_DIRECT -DINETD -Wno-unused -O0 -ggdb -c
sendfile_test.c
In file included from sendfile_test.c:1:
/usr/include/sys/sendfile.h:26: #error "<sys/sendfile.h> cannot be used with
_FILE_OFFSET_BITS=64"
make: *** [sendfile_test.o] Error 1

-- 
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners. They stop working when you open Windows.

- 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/