Changeset 367


Ignore:
Timestamp:
Aug 31, 2008, 12:04:49 AM (17 years ago)
Author:
Brendan Oakley
Message:

Reverse mistake in changeset:1

Location:
GPL
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/alsa-resync1/alsa-kernel/core/sgbuf.c

    r348 r367  
    129129
    130130            sgbuf->size = size;
    131 #ifndef TARGET_OS2
     131#ifndef TARGET_OS2 //TODO: implement vmap() and friends
    132132        dmab->area = vmap(sgbuf->page_table, sgbuf->pages, VM_MAP, PAGE_KERNEL);
    133133#else
  • GPL/trunk/include/asm/page.h

    r347 r367  
    3434#endif
    3535
    36 typedef struct { unsigned long long pgprot; } pgprot_t;
     36typedef struct { unsigned long pgprot; } pgprot_t;
    3737
    3838#define pte_val(x)      ((x).pte)
     
    4141#define pgprot_val(x)   ((x).pgprot)
    4242
    43 pgprot_t __pgprot(int x);
     43#define __pgprot(x)     ((pgprot_t) { (x) } )
    4444
    4545#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 $ */
    21/*
    32 * OS/2 implementation of misc. Linux kernel services
     
    120119//******************************************************************************
    121120//******************************************************************************
    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 //******************************************************************************
    132121struct proc_dir_entry proc_root = {0};
    133122//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.