diff --git a/driver/capture_macro.h b/driver/capture_macro.h index e796a2e1af0..eb9d97cc693 100644 --- a/driver/capture_macro.h +++ b/driver/capture_macro.h @@ -33,3 +33,7 @@ or GPL2.txt for full copies of the license. /* Convert seconds to nanoseconds */ #define SECOND_TO_NS 1000000000ULL + +#ifdef PAGE_SIZE + #define STR_STORAGE_SIZE PAGE_SIZE +#endif diff --git a/driver/ppm.h b/driver/ppm.h index 23e340e8c9c..342564793bf 100644 --- a/driver/ppm.h +++ b/driver/ppm.h @@ -52,8 +52,6 @@ struct ppm_ring_buffer_context { char *str_storage; /* String storage. Size is one page. */ }; -#define STR_STORAGE_SIZE PAGE_SIZE - /* * Global functions *