File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -255,26 +255,13 @@ static inline int get_frame_offset(struct task_struct *t, int offset)
255
255
return __get_offset (t -> ret_stack [offset ]);
256
256
}
257
257
258
- /* Get FGRAPH_TYPE from the word from the @offset at ret_stack */
259
- static inline int get_fgraph_type (struct task_struct * t , int offset )
260
- {
261
- return __get_type (t -> ret_stack [offset ]);
262
- }
263
-
264
258
/* For BITMAP type: get the bitmask from the @offset at ret_stack */
265
259
static inline unsigned long
266
260
get_bitmap_bits (struct task_struct * t , int offset )
267
261
{
268
262
return (t -> ret_stack [offset ] >> FGRAPH_INDEX_SHIFT ) & FGRAPH_INDEX_MASK ;
269
263
}
270
264
271
- /* For BITMAP type: set the bits in the bitmap bitmask at @offset on ret_stack */
272
- static inline void
273
- set_bitmap_bits (struct task_struct * t , int offset , unsigned long bitmap )
274
- {
275
- t -> ret_stack [offset ] |= (bitmap << FGRAPH_INDEX_SHIFT );
276
- }
277
-
278
265
/* Write the bitmap to the ret_stack at @offset (does index, offset and bitmask) */
279
266
static inline void
280
267
set_bitmap (struct task_struct * t , int offset , unsigned long bitmap )
You can’t perform that action at this time.
0 commit comments