Changeset 76939 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jan 22, 2019 4:51:28 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128316
- Location:
- trunk/src/VBox/Additions/linux
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_fb.c
r76938 r76939 344 344 sizes->fb_height); 345 345 346 info->screen_base = (char __iomem *)bo->kmap.virtual;346 info->screen_base = bo->kmap.virtual; 347 347 info->screen_size = size; 348 348 -
trunk/src/VBox/Additions/linux/drm/vbox_main.c
r76938 r76939 68 68 continue; 69 69 70 vbva = (void __force*)vbox->vbva_buffers + i * VBVA_MIN_BUFFER_SIZE;70 vbva = (void *)vbox->vbva_buffers + i * VBVA_MIN_BUFFER_SIZE; 71 71 if (!VBoxVBVAEnable(&vbox->vbva_info[i], 72 72 vbox->guest_pool, vbva, i)) { -
trunk/src/VBox/Additions/linux/sharedfolders/lnkops.c
r76938 r76939 36 36 # if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 2, 0) 37 37 static const char *sf_follow_link(struct dentry *dentry, void **cookie) 38 # elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)38 # else 39 39 static void *sf_follow_link(struct dentry *dentry, struct nameidata *nd) 40 #else41 static int sf_follow_link(struct dentry *dentry, struct nameidata *nd)42 40 # endif 43 41 { … … 63 61 # else 64 62 nd_set_link(nd, error ? ERR_PTR(error) : path); 65 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)66 63 return NULL; 67 # else 68 return 0; 69 # endif 70 #endif 64 # endif 71 65 } 72 66 73 67 # if LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0) 74 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13)75 68 static void sf_put_link(struct dentry *dentry, struct nameidata *nd, 76 69 void *cookie) 77 #else78 static void sf_put_link(struct dentry *dentry, struct nameidata *nd)79 #endif80 70 { 81 71 char *page = nd_get_link(nd); -
trunk/src/VBox/Additions/linux/sharedfolders/utils.c
r76938 r76939 853 853 /* Each new shared folder map gets a new uint64_t identifier, 854 854 * allocated in sequence. We ASSUME the sequence will not wrap. */ 855 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)856 855 static uint64_t s_u64Sequence = 0; 857 856 uint64_t u64CurrentSequence = ASMAtomicIncU64(&s_u64Sequence); 858 #endif859 857 860 858 sf_g->bdi.ra_pages = 0; /* No readahead */
Note:
See TracChangeset
for help on using the changeset viewer.