-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dynamic memory allocation to ”xxx” driver
Task: Add dynamic memory allocation to ”xxx” driver from sysfs example using kmalloc and kmem_cache API. - modify building with BB board - add module parameter mem_type as: 0 - kmalloc; 1 - cache; 2 - vmalloc Signed-off-by: oleksii-kogutenko <[email protected]>
- Loading branch information
1 parent
79f1a87
commit c95425b
Showing
2 changed files
with
146 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters