I am working on a Linux module for IA64. My current problem is that the driver uses the PAGE_SIZE and PAGE_SHIFT macros for dma page allocation. The problem I am having is tha
I fear that it is impossible to do as page size is something defined as part of the kernel.
page size knowledge is required in case of toolchain also which you use to compile the kernel module.
So atleast with current kernel architecture, it is impossible to do so.