]> xenbits.xensource.com Git - xen.git/commitdiff
x86/mm: Use standard C types for sized integers
authorFrediano Ziglio <frediano.ziglio@cloud.com>
Wed, 30 Oct 2024 10:44:06 +0000 (10:44 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 30 Oct 2024 17:34:32 +0000 (17:34 +0000)
The header is already using these types.

Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/include/asm/mm.h

index 2a837f3d59ae830fd5c1ba916083993117e9fd5d..71a29b2cb3af5f7e47943c92beea86d5acfc6fbb 100644 (file)
@@ -230,7 +230,7 @@ struct page_info
          * Only valid for: a) free pages, and b) pages with zero type count
          * (except page table pages when the guest is in shadow mode).
          */
-        u32 tlbflush_timestamp;
+        uint32_t tlbflush_timestamp;
 
         /*
          * When PGT_partial is true then the first two fields are valid and
@@ -284,8 +284,8 @@ struct page_info
          *   in use.
          */
         struct {
-            u16 nr_validated_ptes:PAGETABLE_ORDER + 1;
-            u16 :16 - PAGETABLE_ORDER - 1 - 1;
+            uint16_t nr_validated_ptes:PAGETABLE_ORDER + 1;
+            uint16_t :16 - PAGETABLE_ORDER - 1 - 1;
             uint16_t partial_flags:1;
             int16_t linear_pt_count;
         };