Changeset 76938 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Jan 22, 2019 4:50:18 PM (6 years ago)
- Location:
- trunk/src/VBox/Additions/linux
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/drm/vbox_fb.c
r76936 r76938 344 344 sizes->fb_height); 345 345 346 info->screen_base = bo->kmap.virtual;346 info->screen_base = (char __iomem *)bo->kmap.virtual; 347 347 info->screen_size = size; 348 348 -
trunk/src/VBox/Additions/linux/drm/vbox_main.c
r76553 r76938 68 68 continue; 69 69 70 vbva = (void *)vbox->vbva_buffers + i * VBVA_MIN_BUFFER_SIZE;70 vbva = (void __force *)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
r76744 r76938 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 # else38 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13) 39 39 static void *sf_follow_link(struct dentry *dentry, struct nameidata *nd) 40 #else 41 static int sf_follow_link(struct dentry *dentry, struct nameidata *nd) 40 42 # endif 41 43 { … … 61 63 # else 62 64 nd_set_link(nd, error ? ERR_PTR(error) : path); 65 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13) 63 66 return NULL; 64 # endif 67 # else 68 return 0; 69 # endif 70 #endif 65 71 } 66 72 67 73 # if LINUX_VERSION_CODE < KERNEL_VERSION(4, 2, 0) 74 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 13) 68 75 static void sf_put_link(struct dentry *dentry, struct nameidata *nd, 69 76 void *cookie) 77 #else 78 static void sf_put_link(struct dentry *dentry, struct nameidata *nd) 79 #endif 70 80 { 71 81 char *page = nd_get_link(nd); -
trunk/src/VBox/Additions/linux/sharedfolders/utils.c
r76733 r76938 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) 855 856 static uint64_t s_u64Sequence = 0; 856 857 uint64_t u64CurrentSequence = ASMAtomicIncU64(&s_u64Sequence); 858 #endif 857 859 858 860 sf_g->bdi.ra_pages = 0; /* No readahead */
Note:
See TracChangeset
for help on using the changeset viewer.