Ignore:
Timestamp:
Jan 1, 2021, 5:31:48 AM (5 years ago)
Author:
Paul Smedley
Message:

Add source for uniaud32 based on code from linux kernel 5.4.86

Location:
GPL/branches/uniaud32-next
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/include/linux/mm.h

    r598 r615  
    44#include <linux/sched.h>
    55#include <linux/errno.h>
     6#include <linux/gfp.h>
    67#include <asm/page.h>
    78#include <asm/atomic.h>
     
    1617#define __GFP_IO        0x10
    1718#define __GFP_SWAP      0x20
    18 #ifdef CONFIG_HIGHMEM
    19 #define __GFP_HIGHMEM   0x40
    20 #else
    21 #define __GFP_HIGHMEM   0x0 /* noop */
    22 #endif
    23 
    24 #define __GFP_DMA       0x80
    2519
    2620#ifdef TARGET_OS2
     
    125119        unsigned long flags;    /* atomic flags, some possibly updated asynchronously */
    126120        unsigned long virtual; /* nonzero if kmapped */
     121        struct kmem_cache *slab_cache;  /* SL[AU]B: Pointer to slab */
     122        struct page *first_page;        /* Compound tail pages */
    127123} mem_map_t;
    128124
     
    174170#define ClearPageReserved(a)            a
    175171struct page *vmalloc_to_page(void *addr);
     172
    176173#endif
Note: See TracChangeset for help on using the changeset viewer.