VirtualBox

Changeset 76939 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 22, 2019 4:51:28 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128316
Message:

Reverted previous commit: merged too much.

Location:
trunk/src/VBox/Additions/linux
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_fb.c

    r76938 r76939  
    344344                               sizes->fb_height);
    345345
    346         info->screen_base = (char __iomem *)bo->kmap.virtual;
     346        info->screen_base = bo->kmap.virtual;
    347347        info->screen_size = size;
    348348
  • trunk/src/VBox/Additions/linux/drm/vbox_main.c

    r76938 r76939  
    6868                        continue;
    6969
    70                 vbva = (void __force *)vbox->vbva_buffers + i * VBVA_MIN_BUFFER_SIZE;
     70                vbva = (void *)vbox->vbva_buffers + i * VBVA_MIN_BUFFER_SIZE;
    7171                if (!VBoxVBVAEnable(&vbox->vbva_info[i],
    7272                                 vbox->guest_pool, vbva, i)) {
  • trunk/src/VBox/Additions/linux/sharedfolders/lnkops.c

    r76938 r76939  
    3636#  if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0)
    3737static const char *sf_follow_link(struct dentry *dentry, void **cookie)
    38 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
     38#  else
    3939static void *sf_follow_link(struct dentry *dentry, struct nameidata *nd)
    40 #else
    41 static int sf_follow_link(struct dentry *dentry, struct nameidata *nd)
    4240#  endif
    4341{
     
    6361#  else
    6462        nd_set_link(nd, error ? ERR_PTR(error) : path);
    65 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
    6663        return NULL;
    67 # else
    68         return 0;
    69 # endif
    70 #endif
     64#  endif
    7165}
    7266
    7367#  if LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0)
    74 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)
    7568static void sf_put_link(struct dentry *dentry, struct nameidata *nd,
    7669                        void *cookie)
    77 #else
    78 static void sf_put_link(struct dentry *dentry, struct nameidata *nd)
    79 #endif
    8070{
    8171        char *page = nd_get_link(nd);
  • trunk/src/VBox/Additions/linux/sharedfolders/utils.c

    r76938 r76939  
    853853        /* Each new shared folder map gets a new uint64_t identifier,
    854854         * allocated in sequence.  We ASSUME the sequence will not wrap. */
    855 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
    856855        static uint64_t s_u64Sequence = 0;
    857856        uint64_t u64CurrentSequence = ASMAtomicIncU64(&s_u64Sequence);
    858 #endif
    859857
    860858        sf_g->bdi.ra_pages = 0; /* No readahead */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette