Changeset 367
- Timestamp:
- Aug 31, 2008, 12:04:49 AM (17 years ago)
- Location:
- GPL
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/alsa-resync1/alsa-kernel/core/sgbuf.c
r348 r367 129 129 130 130 sgbuf->size = size; 131 #ifndef TARGET_OS2 131 #ifndef TARGET_OS2 //TODO: implement vmap() and friends 132 132 dmab->area = vmap(sgbuf->page_table, sgbuf->pages, VM_MAP, PAGE_KERNEL); 133 133 #else -
GPL/trunk/include/asm/page.h
r347 r367 34 34 #endif 35 35 36 typedef struct { unsigned long longpgprot; } pgprot_t;36 typedef struct { unsigned long pgprot; } pgprot_t; 37 37 38 38 #define pte_val(x) ((x).pte) … … 41 41 #define pgprot_val(x) ((x).pgprot) 42 42 43 pgprot_t __pgprot(int x); 43 #define __pgprot(x) ((pgprot_t) { (x) } ) 44 44 45 45 #endif /* !__ASSEMBLY__ */ -
GPL/trunk/lib32/misc.c
r347 r367 1 /* $Id: misc.c,v 1.1.1.1 2003/07/02 13:57:02 eleph Exp $ */2 1 /* 3 2 * OS/2 implementation of misc. Linux kernel services … … 120 119 //****************************************************************************** 121 120 //****************************************************************************** 122 pgprot_t __pgprot(int x)123 {124 unsigned long long cast_x;125 pgprot_t pg;126 cast_x = (unsigned long long) (x);127 pg.pgprot = cast_x;128 return (pg);129 }130 //******************************************************************************131 //******************************************************************************132 121 struct proc_dir_entry proc_root = {0}; 133 122 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.