History

ipc: uninline functions

Two functions are only called via function pointers, don't bother inlining them.

Alexey Dobriyan committed 6 years ago

Commit 00898e81 parent a3ec9f32 files · +2 −4Browse files

Unified · Split

2 files
  1. ipc/sem.c +1 −2
  2. ipc/shm.c +1 −2
ipc/sem.c+1−2
@@ -585,8 +585,7 @@ static int newary(struct ipc_namespace *ns, struct ipc_params *params) · 584 unmodified lines
585/*585/*
586 * Called with sem_ids.rwsem and ipcp locked.586 * Called with sem_ids.rwsem and ipcp locked.
587 */587 */
588static inline int sem_more_checks(struct kern_ipc_perm *ipcp,588static int sem_more_checks(struct kern_ipc_perm *ipcp, struct ipc_params *params)
589 struct ipc_params *params)
590{589{
591 struct sem_array *sma;590 struct sem_array *sma;
592 591
ipc/shm.c+1−2
@@ -711,8 +711,7 @@ no_file: · 710 unmodified lines
711/*711/*
712 * Called with shm_ids.rwsem and ipcp locked.712 * Called with shm_ids.rwsem and ipcp locked.
713 */713 */
714static inline int shm_more_checks(struct kern_ipc_perm *ipcp,714static int shm_more_checks(struct kern_ipc_perm *ipcp, struct ipc_params *params)
715 struct ipc_params *params)
716{715{
717 struct shmid_kernel *shp;716 struct shmid_kernel *shp;
718 717

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t