diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ioport.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h index c837b53491..3f95dddf4e 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h @@ -25,6 +25,12 @@ struct resource { struct list_head sibling; }; +#ifdef CONFIG_PHYS_ADDR_T_64BIT +#define PRINTF_CONVERSION_RESOURCE "0x%016llx" +#else +#define PRINTF_CONVERSION_RESOURCE "0x%08x" +#endif + /* * IO resources have these defined flags. */ |