2005-04-16 15:20:36 -07:00
/ *
2006-02-01 03:06:38 -08:00
* arch/ s39 0 / k e r n e l / c o m p a t _ w r a p p e r . S
2005-04-16 15:20:36 -07:00
* wrapper f o r 3 1 b i t c o m p a t i b l e s y s t e m c a l l s .
*
2006-02-01 03:06:38 -08:00
* Copyright ( C ) I B M C o r p . 2 0 0 0 ,2 0 0 6
2005-04-16 15:20:36 -07:00
* Author( s ) : G e r h a r d T o n n ( t o n @de.ibm.com),
2006-09-28 16:56:37 +02:00
* Thomas S p a t z i e r ( t s p a t @de.ibm.com)
* /
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
# include < l i n u x / l i n k a g e . h >
ENTRY( s y s32 _ e x i t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
jg s y s _ e x i t # b r a n c h t o s y s _ e x i t
2006-09-28 16:56:37 +02:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ r e a d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # c h a r *
llgfr % r4 ,% r4 # s i z e _ t
jg s y s32 _ r e a d # b r a n c h t o s y s _ r e a d
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ w r i t e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # s i z e _ t
jg s y s32 _ w r i t e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ o p e n _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
lgfr % r4 ,% r4 # i n t
jg s y s _ o p e n # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c l o s e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ c l o s e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c r e a t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ c r e a t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ l i n k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c o n s t c h a r *
jg s y s _ l i n k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ u n l i n k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
jg s y s _ u n l i n k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c h d i r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
jg s y s _ c h d i r # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ t i m e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # i n t *
jg c o m p a t _ s y s _ t i m e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m k n o d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
2006-09-28 16:56:37 +02:00
lgfr % r3 ,% r3 # i n t
2005-04-16 15:20:36 -07:00
llgfr % r4 ,% r4 # d e v
jg s y s _ m k n o d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c h m o d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # m o d e _ t
jg s y s _ c h m o d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ l c h o w n 1 6 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
2006-09-28 16:56:37 +02:00
llgfr % r3 ,% r3 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
llgfr % r4 ,% r4 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
2005-04-16 15:20:36 -07:00
jg s y s32 _ l c h o w n 1 6 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ l s e e k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
lgfr % r3 ,% r3 # o f f _ t
llgfr % r4 ,% r4 # u n s i g n e d i n t
jg s y s _ l s e e k # b r a n c h t o s y s t e m c a l l
2006-09-28 16:56:37 +02:00
# sys3 2 _ g e t p i d _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m o u n t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # c h a r *
llgfr % r5 ,% r5 # u n s i g n e d l o n g
llgtr % r6 ,% r6 # v o i d *
jg c o m p a t _ s y s _ m o u n t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ o l d u m o u n t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
jg s y s _ o l d u m o u n t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t u i d16 _ w r a p p e r )
2006-09-28 16:56:37 +02:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
2005-04-16 15:20:36 -07:00
jg s y s32 _ s e t u i d16 # b r a n c h t o s y s t e m c a l l
2006-09-28 16:56:37 +02:00
# sys3 2 _ g e t u i d16 _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ p t r a c e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # l o n g
lgfr % r3 ,% r3 # l o n g
llgtr % r4 ,% r4 # l o n g
llgfr % r5 ,% r5 # l o n g
2008-05-07 09:22:57 +02:00
jg c o m p a t _ s y s _ p t r a c e # b r a n c h t o s y s t e m c a l l
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ a l a r m _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ a l a r m # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ u t i m e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ u t i m b u f *
jg c o m p a t _ s y s _ u t i m e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ a c c e s s _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ a c c e s s # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ n i c e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
jg s y s _ n i c e # b r a n c h t o s y s t e m c a l l
2006-09-28 16:56:37 +02:00
# sys3 2 _ s y n c _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ k i l l _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
jg s y s _ k i l l # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ r e n a m e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c o n s t c h a r *
jg s y s _ r e n a m e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m k d i r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ m k d i r # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ r m d i r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
jg s y s _ r m d i r # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ d u p _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ d u p # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ p i p e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # u 32 *
jg s y s _ p i p e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ t i m e s _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # s t r u c t c o m p a t _ t m s *
jg c o m p a t _ s y s _ t i m e s # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ b r k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # u n s i g n e d l o n g
jg s y s _ b r k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t g i d16 _ w r a p p e r )
2006-09-28 16:56:37 +02:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
2005-04-16 15:20:36 -07:00
jg s y s32 _ s e t g i d16 # b r a n c h t o s y s t e m c a l l
2006-09-28 16:56:37 +02:00
# sys3 2 _ g e t g i d16 _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s i g n a l _ w r a p p e r )
2006-09-28 16:56:37 +02:00
lgfr % r2 ,% r2 # i n t
2005-04-16 15:20:36 -07:00
llgtr % r3 ,% r3 # _ _ s i g h a n d l e r _ t
jg s y s _ s i g n a l
2006-09-28 16:56:37 +02:00
# sys3 2 _ g e t e u i d16 _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2006-09-28 16:56:37 +02:00
# sys3 2 _ g e t e g i d16 _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ a c c t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
jg s y s _ a c c t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ u m o u n t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ u m o u n t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ i o c t l _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
llgfr % r4 ,% r4 # u n s i g n e d i n t
jg c o m p a t _ s y s _ i o c t l # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ f c n t l _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
2006-09-28 16:56:37 +02:00
llgfr % r3 ,% r3 # u n s i g n e d i n t
2005-04-16 15:20:36 -07:00
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg c o m p a t _ s y s _ f c n t l # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t p g i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # p i d _ t
lgfr % r3 ,% r3 # p i d _ t
jg s y s _ s e t p g i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ u m a s k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
jg s y s _ u m a s k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c h r o o t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
jg s y s _ c h r o o t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ u s t a t _ w r a p p e r )
2006-09-28 16:56:37 +02:00
llgfr % r2 ,% r2 # d e v _ t
2005-04-16 15:20:36 -07:00
llgtr % r3 ,% r3 # s t r u c t u s t a t *
2008-11-28 10:09:09 +01:00
jg c o m p a t _ s y s _ u s t a t
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ d u p2 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
jg s y s _ d u p2 # b r a n c h t o s y s t e m c a l l
2006-09-28 16:56:37 +02:00
# sys3 2 _ g e t p p i d _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2006-09-28 16:56:37 +02:00
# sys3 2 _ g e t p g r p _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2006-09-28 16:56:37 +02:00
# sys3 2 _ s e t s i d _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s i g a c t i o n _ w r a p p e r )
2006-09-28 16:56:37 +02:00
lgfr % r2 ,% r2 # i n t
2005-04-16 15:20:36 -07:00
llgtr % r3 ,% r3 # c o n s t s t r u c t o l d _ s i g a c t i o n *
llgtr % r4 ,% r4 # s t r u c t o l d _ s i g a c t i o n 32 *
jg s y s32 _ s i g a c t i o n # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t r e u i d16 _ w r a p p e r )
2006-09-28 16:56:37 +02:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
llgfr % r3 ,% r3 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
2005-04-16 15:20:36 -07:00
jg s y s32 _ s e t r e u i d16 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t r e g i d16 _ w r a p p e r )
2006-09-28 16:56:37 +02:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
llgfr % r3 ,% r3 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
2005-04-16 15:20:36 -07:00
jg s y s32 _ s e t r e g i d16 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ s i g s u s p e n d _ w r a p p e r )
2006-02-01 03:06:38 -08:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
llgfr % r4 ,% r4 # o l d _ s i g s e t _ t
jg s y s _ s i g s u s p e n d
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s i g p e n d i n g _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o m p a t _ o l d _ s i g s e t _ t *
jg c o m p a t _ s y s _ s i g p e n d i n g # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t h o s t n a m e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ s e t h o s t n a m e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s e t r l i m i t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # s t r u c t r l i m i t _ e m u 31 *
jg c o m p a t _ s y s _ s e t r l i m i t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ o l d _ g e t r l i m i t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # s t r u c t r l i m i t _ e m u 31 *
jg c o m p a t _ s y s _ o l d _ g e t r l i m i t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ g e t r l i m i t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # s t r u c t r l i m i t _ e m u 31 *
jg c o m p a t _ s y s _ g e t r l i m i t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m m a p2 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # s t r u c t m m a p _ a r g _ s t r u c t _ e m u 31 *
jg s y s32 _ m m a p2 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ g e t r u s a g e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # s t r u c t r u s a g e _ e m u 31 *
jg c o m p a t _ s y s _ g e t r u s a g e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ g e t t i m e o f d a y _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # s t r u c t t i m e v a l _ e m u 31 *
llgtr % r3 ,% r3 # s t r u c t t i m e z o n e *
2008-10-15 22:02:06 -07:00
jg c o m p a t _ s y s _ g e t t i m e o f d a y # b r a n c h t o s y s t e m c a l l
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s e t t i m e o f d a y _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # s t r u c t t i m e v a l _ e m u 31 *
llgtr % r3 ,% r3 # s t r u c t t i m e z o n e *
2008-10-15 22:02:06 -07:00
jg c o m p a t _ s y s _ s e t t i m e o f d a y # b r a n c h t o s y s t e m c a l l
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t g r o u p s16 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t *
jg s y s32 _ g e t g r o u p s16 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t g r o u p s16 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t *
jg s y s32 _ s e t g r o u p s16 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s y m l i n k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c o n s t c h a r *
jg s y s _ s y m l i n k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ r e a d l i n k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c h a r *
lgfr % r4 ,% r4 # i n t
jg s y s _ r e a d l i n k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ u s e l i b _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
jg s y s _ u s e l i b # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s w a p o n _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ s w a p o n # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ r e b o o t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
llgfr % r4 ,% r4 # u n s i g n e d i n t
llgtr % r5 ,% r5 # v o i d *
jg s y s _ r e b o o t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( o l d32 _ r e a d d i r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # v o i d *
llgfr % r4 ,% r4 # u n s i g n e d i n t
jg c o m p a t _ s y s _ o l d _ r e a d d i r # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( o l d32 _ m m a p _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # s t r u c t m m a p _ a r g _ s t r u c t _ e m u 31 *
jg o l d32 _ m m a p # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m u n m a p _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
2006-09-28 16:56:37 +02:00
llgfr % r3 ,% r3 # s i z e _ t
2005-04-16 15:20:36 -07:00
jg s y s _ m u n m a p # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ t r u n c a t e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
2009-10-06 10:34:06 +02:00
lgfr % r3 ,% r3 # l o n g
2005-04-16 15:20:36 -07:00
jg s y s _ t r u n c a t e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f t r u n c a t e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d l o n g
jg s y s _ f t r u n c a t e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f c h m o d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # m o d e _ t
jg s y s _ f c h m o d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f c h o w n 1 6 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # c o m p a t _ u i d _ t
llgfr % r4 ,% r4 # c o m p a t _ u i d _ t
jg s y s32 _ f c h o w n 1 6 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t p r i o r i t y _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
jg s y s _ g e t p r i o r i t y # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t p r i o r i t y _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
lgfr % r4 ,% r4 # i n t
jg s y s _ s e t p r i o r i t y # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s t a t f s _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ s t a t f s *
jg c o m p a t _ s y s _ s t a t f s # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ f s t a t f s _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ s t a t f s *
jg c o m p a t _ s y s _ f s t a t f s # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s o c k e t c a l l _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # u 32 *
jg c o m p a t _ s y s _ s o c k e t c a l l # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s y s l o g _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c h a r *
lgfr % r4 ,% r4 # i n t
jg s y s _ s y s l o g # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s e t i t i m e r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # s t r u c t i t i m e r v a l _ e m u 31 *
llgtr % r4 ,% r4 # s t r u c t i t i m e r v a l _ e m u 31 *
jg c o m p a t _ s y s _ s e t i t i m e r # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ g e t i t i m e r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # s t r u c t i t i m e r v a l _ e m u 31 *
jg c o m p a t _ s y s _ g e t i t i m e r # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ n e w s t a t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t s t a t _ e m u 31 *
jg c o m p a t _ s y s _ n e w s t a t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ n e w l s t a t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t s t a t _ e m u 31 *
jg c o m p a t _ s y s _ n e w l s t a t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ n e w f s t a t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # s t r u c t s t a t _ e m u 31 *
jg c o m p a t _ s y s _ n e w f s t a t # b r a n c h t o s y s t e m c a l l
2006-09-28 16:56:37 +02:00
# sys3 2 _ v h a n g u p _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ w a i t 4 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # p i d _ t
llgtr % r3 ,% r3 # u n s i g n e d i n t *
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # s t r u c t r u s a g e *
jg c o m p a t _ s y s _ w a i t 4 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s w a p o f f _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
jg s y s _ s w a p o f f # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s y s i n f o _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # s t r u c t s y s i n f o _ e m u 31 *
2007-02-10 01:46:00 -08:00
jg c o m p a t _ s y s _ s y s i n f o # b r a n c h t o s y s t e m c a l l
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ i p c _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u i n t
lgfr % r3 ,% r3 # i n t
lgfr % r4 ,% r4 # i n t
lgfr % r5 ,% r5 # i n t
llgfr % r6 ,% r6 # u 32
jg s y s32 _ i p c # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f s y n c _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ f s y n c # b r a n c h t o s y s t e m c a l l
2006-09-28 16:56:37 +02:00
# sys3 2 _ s i g r e t u r n _ w r a p p e r # d o n e i n s i g r e t u r n _ g l u e
2005-04-16 15:20:36 -07:00
2006-09-28 16:56:37 +02:00
# sys3 2 _ c l o n e _ w r a p p e r # d o n e i n c l o n e _ g l u e
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t d o m a i n n a m e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
lgfr % r3 ,% r3 # i n t
jg s y s _ s e t d o m a i n n a m e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ n e w u n a m e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # s t r u c t n e w _ u t s n a m e *
2010-03-10 15:21:19 -08:00
jg s y s _ n e w u n a m e # b r a n c h t o s y s t e m c a l l
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ a d j t i m e x _ w r a p p e r )
2006-03-26 01:37:29 -08:00
llgtr % r2 ,% r2 # s t r u c t c o m p a t _ t i m e x *
jg c o m p a t _ s y s _ a d j t i m e x # b r a n c h t o s y s t e m c a l l
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m p r o t e c t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # u n s i g n e d l o n g ( a c t u a l l y p o i n t e r
llgfr % r3 ,% r3 # s i z e _ t
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg s y s _ m p r o t e c t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s i g p r o c m a s k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o m p a t _ o l d _ s i g s e t _ t *
llgtr % r4 ,% r4 # c o m p a t _ o l d _ s i g s e t _ t *
jg c o m p a t _ s y s _ s i g p r o c m a s k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ i n i t _ m o d u l e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # v o i d *
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgtr % r4 ,% r4 # c h a r *
2009-09-22 22:58:43 +02:00
jg s y s _ i n i t _ m o d u l e # b r a n c h t o s y s t e m c a l l
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ d e l e t e _ m o d u l e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # u n s i g n e d i n t
2009-09-22 22:58:43 +02:00
jg s y s _ d e l e t e _ m o d u l e # b r a n c h t o s y s t e m c a l l
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ q u o t a c t l _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # q i d _ t
llgtr % r5 ,% r5 # c a d d r _ t
jg s y s _ q u o t a c t l # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t p g i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # p i d _ t
jg s y s _ g e t p g i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f c h d i r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ f c h d i r # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ b d f l u s h _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # l o n g
jg s y s _ b d f l u s h # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s y s f s _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg s y s _ s y s f s # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ p e r s o n a l i t y _ w r a p p e r )
2010-08-13 10:06:39 +02:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
2009-01-14 14:14:36 +01:00
jg s y s _ s39 0 _ p e r s o n a l i t y # b r a n c h t o s y s t e m c a l l
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t f s u i d16 _ w r a p p e r )
2006-09-28 16:56:37 +02:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
2005-04-16 15:20:36 -07:00
jg s y s32 _ s e t f s u i d16 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t f s g i d16 _ w r a p p e r )
2006-09-28 16:56:37 +02:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
2005-04-16 15:20:36 -07:00
jg s y s32 _ s e t f s g i d16 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ l l s e e k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
llgtr % r5 ,% r5 # l o f f _ t *
llgfr % r6 ,% r6 # u n s i g n e d i n t
jg s y s _ l l s e e k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t d e n t s _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # v o i d *
llgfr % r4 ,% r4 # u n s i g n e d i n t
jg c o m p a t _ s y s _ g e t d e n t s # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s e l e c t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o m p a t _ f d _ s e t *
llgtr % r4 ,% r4 # c o m p a t _ f d _ s e t *
llgtr % r5 ,% r5 # c o m p a t _ f d _ s e t *
llgtr % r6 ,% r6 # s t r u c t c o m p a t _ t i m e v a l *
jg c o m p a t _ s y s _ s e l e c t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f l o c k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
jg s y s _ f l o c k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m s y n c _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # s i z e _ t
lgfr % r4 ,% r4 # i n t
jg s y s _ m s y n c # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ r e a d v _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t s t r u c t c o m p a t _ i o v e c *
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg c o m p a t _ s y s _ r e a d v # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ w r i t e v _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t s t r u c t c o m p a t _ i o v e c *
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg c o m p a t _ s y s _ w r i t e v # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t s i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # p i d _ t
jg s y s _ g e t s i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f d a t a s y n c _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ f d a t a s y n c # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m l o c k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # s i z e _ t
jg s y s _ m l o c k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m u n l o c k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # s i z e _ t
jg s y s _ m u n l o c k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m l o c k a l l _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
jg s y s _ m l o c k a l l # b r a n c h t o s y s t e m c a l l
2006-09-28 16:56:37 +02:00
# sys3 2 _ m u n l o c k a l l _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s c h e d _ s e t p a r a m _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # p i d _ t
llgtr % r3 ,% r3 # s t r u c t s c h e d _ p a r a m *
jg s y s _ s c h e d _ s e t p a r a m # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s c h e d _ g e t p a r a m _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # p i d _ t
llgtr % r3 ,% r3 # s t r u c t s c h e d _ p a r a m *
jg s y s _ s c h e d _ g e t p a r a m # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s c h e d _ s e t s c h e d u l e r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # p i d _ t
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # s t r u c t s c h e d _ p a r a m *
jg s y s _ s c h e d _ s e t s c h e d u l e r # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s c h e d _ g e t s c h e d u l e r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # p i d _ t
jg s y s _ s c h e d _ g e t s c h e d u l e r # b r a n c h t o s y s t e m c a l l
2006-09-28 16:56:37 +02:00
# sys3 2 _ s c h e d _ y i e l d _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s c h e d _ g e t _ p r i o r i t y _ m a x _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
jg s y s _ s c h e d _ g e t _ p r i o r i t y _ m a x # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s c h e d _ g e t _ p r i o r i t y _ m i n _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
jg s y s _ s c h e d _ g e t _ p r i o r i t y _ m i n # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s c h e d _ r r _ g e t _ i n t e r v a l _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # p i d _ t
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ t i m e s p e c *
jg s y s32 _ s c h e d _ r r _ g e t _ i n t e r v a l # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ n a n o s l e e p _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # s t r u c t c o m p a t _ t i m e s p e c *
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ n a n o s l e e p # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m r e m a p _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
llgfr % r5 ,% r5 # u n s i g n e d l o n g
llgfr % r6 ,% r6 # u n s i g n e d l o n g
jg s y s _ m r e m a p # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t r e s u i d16 _ w r a p p e r )
2006-09-28 16:56:37 +02:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
llgfr % r3 ,% r3 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
llgfr % r4 ,% r4 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
2005-04-16 15:20:36 -07:00
jg s y s32 _ s e t r e s u i d16 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t r e s u i d16 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t *
llgtr % r3 ,% r3 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t *
llgtr % r4 ,% r4 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t *
jg s y s32 _ g e t r e s u i d16 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ p o l l _ w r a p p e r )
2006-09-28 16:56:37 +02:00
llgtr % r2 ,% r2 # s t r u c t p o l l f d *
llgfr % r3 ,% r3 # u n s i g n e d i n t
sys_poll: fix incorrect type for 'timeout' parameter
The 'poll()' system call timeout parameter is supposed to be 'int', not
'long'.
Now, the reason this matters is that right now 32-bit compat mode is
broken on at least x86-64, because the 32-bit code just calls
'sys_poll()' directly on x86-64, and the 32-bit argument will have been
zero-extended, turning a signed 'int' into a large unsigned 'long'
value.
We could just introduce a 'compat_sys_poll()' function for this, and
that may eventually be what we have to do, but since the actual standard
poll() semantics is *supposed* to be 'int', and since at least on x86-64
glibc sign-extends the argument before invocing the system call (so
nobody can actually use a 64-bit timeout value in user space _anyway_,
even in 64-bit binaries), the simpler solution would seem to be to just
fix the definition of the system call to match what it should have been
from the very start.
If it turns out that somebody somehow circumvents the user-level libc
64-bit sign extension and actually uses a large unsigned 64-bit timeout
despite that not being how poll() is supposed to work, we will need to
do the compat_sys_poll() approach.
Reported-by: Thomas Meyer <thomas@m3y3r.de>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-02-21 17:24:20 -08:00
lgfr % r4 ,% r4 # i n t
2005-04-16 15:20:36 -07:00
jg s y s _ p o l l # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t r e s g i d16 _ w r a p p e r )
2006-09-28 16:56:37 +02:00
llgfr % r2 ,% r2 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
llgfr % r3 ,% r3 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
llgfr % r4 ,% r4 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
2005-04-16 15:20:36 -07:00
jg s y s32 _ s e t r e s g i d16 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t r e s g i d16 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t *
llgtr % r3 ,% r3 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t *
llgtr % r4 ,% r4 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t *
jg s y s32 _ g e t r e s g i d16 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ p r c t l _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
llgfr % r5 ,% r5 # u n s i g n e d l o n g
llgfr % r6 ,% r6 # u n s i g n e d l o n g
jg s y s _ p r c t l # b r a n c h t o s y s t e m c a l l
2006-09-28 16:56:37 +02:00
# sys3 2 _ r t _ s i g r e t u r n _ w r a p p e r # d o n e i n r t _ s i g r e t u r n _ g l u e
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ r t _ s i g a c t i o n _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t s t r u c t s i g a c t i o n _ e m u 31 *
llgtr % r4 ,% r4 # c o n s t s t r u c t s i g a c t i o n _ e m u 31 *
llgfr % r5 ,% r5 # s i z e _ t
jg s y s32 _ r t _ s i g a c t i o n # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ r t _ s i g p r o c m a s k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # o l d _ s i g s e t _ e m u 31 *
llgtr % r4 ,% r4 # o l d _ s i g s e t _ e m u 31 *
llgfr % r5 ,% r5 # s i z e _ t
jg s y s32 _ r t _ s i g p r o c m a s k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ r t _ s i g p e n d i n g _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # s i g s e t _ e m u 31 *
llgfr % r3 ,% r3 # s i z e _ t
jg s y s32 _ r t _ s i g p e n d i n g # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ r t _ s i g t i m e d w a i t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t s i g s e t _ e m u 31 _ t *
llgtr % r3 ,% r3 # s i g i n f o _ e m u 31 _ t *
llgtr % r4 ,% r4 # c o n s t s t r u c t c o m p a t _ t i m e s p e c *
llgfr % r5 ,% r5 # s i z e _ t
jg c o m p a t _ s y s _ r t _ s i g t i m e d w a i t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ r t _ s i g q u e u e i n f o _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # s i g i n f o _ e m u 31 _ t *
jg s y s32 _ r t _ s i g q u e u e i n f o # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ r t _ s i g s u s p e n d _ w r a p p e r )
2006-02-01 03:06:38 -08:00
llgtr % r2 ,% r2 # c o m p a t _ s i g s e t _ t *
llgfr % r3 ,% r3 # c o m p a t _ s i z e _ t
jg c o m p a t _ s y s _ r t _ s i g s u s p e n d
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ p r e a d64 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # c h a r *
llgfr % r4 ,% r4 # s i z e _ t
llgfr % r5 ,% r5 # u 32
llgfr % r6 ,% r6 # u 32
jg s y s32 _ p r e a d64 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ p w r i t e 6 4 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # s i z e _ t
llgfr % r5 ,% r5 # u 32
llgfr % r6 ,% r6 # u 32
jg s y s32 _ p w r i t e 6 4 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c h o w n 1 6 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
2006-09-28 16:56:37 +02:00
llgfr % r3 ,% r3 # _ _ k e r n e l _ o l d _ u i d _ e m u 31 _ t
llgfr % r4 ,% r4 # _ _ k e r n e l _ o l d _ g i d _ e m u 31 _ t
2005-04-16 15:20:36 -07:00
jg s y s32 _ c h o w n 1 6 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t c w d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgfr % r3 ,% r3 # u n s i g n e d l o n g
jg s y s _ g e t c w d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c a p g e t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c a p _ u s e r _ h e a d e r _ t
llgtr % r3 ,% r3 # c a p _ u s e r _ d a t a _ t
jg s y s _ c a p g e t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c a p s e t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c a p _ u s e r _ h e a d e r _ t
llgtr % r3 ,% r3 # c o n s t c a p _ u s e r _ d a t a _ t
jg s y s _ c a p s e t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s i g a l t s t a c k _ w r a p p e r )
2006-09-28 16:56:37 +02:00
llgtr % r2 ,% r2 # c o n s t s t a c k _ e m u 31 _ t *
llgtr % r3 ,% r3 # s t a c k _ e m u 31 _ t *
2005-04-16 15:20:36 -07:00
jg s y s32 _ s i g a l t s t a c k
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e n d f i l e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # _ _ k e r n e l _ o f f _ e m u 31 _ t *
llgfr % r5 ,% r5 # s i z e _ t
jg s y s32 _ s e n d f i l e # b r a n c h t o s y s t e m c a l l
2006-09-28 16:56:37 +02:00
# sys3 2 _ v f o r k _ w r a p p e r # d o n e i n v f o r k _ g l u e
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ t r u n c a t e 6 4 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg s y s32 _ t r u n c a t e 6 4 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f t r u n c a t e 6 4 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg s y s32 _ f t r u n c a t e 6 4 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ l c h o w n _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # u i d _ t
llgfr % r4 ,% r4 # g i d _ t
jg s y s _ l c h o w n # b r a n c h t o s y s t e m c a l l
2006-09-28 16:56:37 +02:00
# sys3 2 _ g e t u i d _ w r a p p e r # v o i d
# sys3 2 _ g e t g i d _ w r a p p e r # v o i d
# sys3 2 _ g e t e u i d _ w r a p p e r # v o i d
# sys3 2 _ g e t e g i d _ w r a p p e r # v o i d
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t r e u i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u i d _ t
llgfr % r3 ,% r3 # u i d _ t
jg s y s _ s e t r e u i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t r e g i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # g i d _ t
llgfr % r3 ,% r3 # g i d _ t
jg s y s _ s e t r e g i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t g r o u p s _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # g i d _ t *
jg s y s _ g e t g r o u p s # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t g r o u p s _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # g i d _ t *
jg s y s _ s e t g r o u p s # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f c h o w n _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u i d _ t
llgfr % r4 ,% r4 # g i d _ t
jg s y s _ f c h o w n # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t r e s u i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u i d _ t
llgfr % r3 ,% r3 # u i d _ t
llgfr % r4 ,% r4 # u i d _ t
jg s y s _ s e t r e s u i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t r e s u i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # u i d _ t *
llgtr % r3 ,% r3 # u i d _ t *
llgtr % r4 ,% r4 # u i d _ t *
jg s y s _ g e t r e s u i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t r e s g i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # g i d _ t
llgfr % r3 ,% r3 # g i d _ t
llgfr % r4 ,% r4 # g i d _ t
jg s y s _ s e t r e s g i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t r e s g i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # g i d _ t *
llgtr % r3 ,% r3 # g i d _ t *
llgtr % r4 ,% r4 # g i d _ t *
jg s y s _ g e t r e s g i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c h o w n _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # u i d _ t
llgfr % r4 ,% r4 # g i d _ t
jg s y s _ c h o w n # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t u i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u i d _ t
jg s y s _ s e t u i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t g i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # g i d _ t
jg s y s _ s e t g i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t f s u i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u i d _ t
jg s y s _ s e t f s u i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t f s g i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # g i d _ t
jg s y s _ s e t f s g i d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ p i v o t _ r o o t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c o n s t c h a r *
jg s y s _ p i v o t _ r o o t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m i n c o r e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # s i z e _ t
llgtr % r4 ,% r4 # u n s i g n e d c h a r *
jg s y s _ m i n c o r e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m a d v i s e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # s i z e _ t
lgfr % r4 ,% r4 # i n t
jg s y s _ m a d v i s e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t d e n t s64 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # v o i d *
llgfr % r4 ,% r4 # u n s i g n e d i n t
jg s y s _ g e t d e n t s64 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ f c n t l 6 4 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
2006-09-28 16:56:37 +02:00
llgfr % r3 ,% r3 # u n s i g n e d i n t
2005-04-16 15:20:36 -07:00
llgfr % r4 ,% r4 # u n s i g n e d l o n g
jg c o m p a t _ s y s _ f c n t l 6 4 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s t a t 6 4 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t s t a t 64 *
jg s y s32 _ s t a t 6 4 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ l s t a t 6 4 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t s t a t 64 *
jg s y s32 _ l s t a t 6 4 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s t i m e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # l o n g *
jg c o m p a t _ s y s _ s t i m e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s y s c t l _ w r a p p e r )
2009-04-03 00:52:35 -07:00
llgtr % r2 ,% r2 # s t r u c t c o m p a t _ s y s c t l _ a r g s *
jg c o m p a t _ s y s _ s y s c t l
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f s t a t 6 4 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgtr % r3 ,% r3 # s t r u c t s t a t 64 *
jg s y s32 _ f s t a t 6 4 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ f u t e x _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # u 32 *
lgfr % r3 ,% r3 # i n t
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # s t r u c t c o m p a t _ t i m e s p e c *
llgtr % r6 ,% r6 # u 32 *
lgf % r0 ,1 6 4 ( % r15 ) # i n t
stg % r0 ,1 6 0 ( % r15 )
jg c o m p a t _ s y s _ f u t e x # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t x a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # v o i d *
llgfr % r5 ,% r5 # s i z e _ t
lgfr % r6 ,% r6 # i n t
jg s y s _ s e t x a t t r
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ l s e t x a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # v o i d *
llgfr % r5 ,% r5 # s i z e _ t
lgfr % r6 ,% r6 # i n t
jg s y s _ l s e t x a t t r
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f s e t x a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # v o i d *
llgfr % r5 ,% r5 # s i z e _ t
lgfr % r6 ,% r6 # i n t
jg s y s _ f s e t x a t t r
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ g e t x a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # v o i d *
llgfr % r5 ,% r5 # s i z e _ t
jg s y s _ g e t x a t t r
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ l g e t x a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # v o i d *
llgfr % r5 ,% r5 # s i z e _ t
jg s y s _ l g e t x a t t r
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f g e t x a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # v o i d *
llgfr % r5 ,% r5 # s i z e _ t
jg s y s _ f g e t x a t t r
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ l i s t x a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgfr % r4 ,% r4 # s i z e _ t
jg s y s _ l i s t x a t t r
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ l l i s t x a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
llgfr % r4 ,% r4 # s i z e _ t
jg s y s _ l l i s t x a t t r
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f l i s t x a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c h a r *
llgfr % r4 ,% r4 # s i z e _ t
jg s y s _ f l i s t x a t t r
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ r e m o v e x a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
jg s y s _ r e m o v e x a t t r
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ l r e m o v e x a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c h a r *
jg s y s _ l r e m o v e x a t t r
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f r e m o v e x a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c h a r *
jg s y s _ f r e m o v e x a t t r
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s c h e d _ s e t a f f i n i t y _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
llgtr % r4 ,% r4 # u n s i g n e d l o n g *
jg c o m p a t _ s y s _ s c h e d _ s e t a f f i n i t y
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s c h e d _ g e t a f f i n i t y _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
llgtr % r4 ,% r4 # u n s i g n e d l o n g *
jg c o m p a t _ s y s _ s c h e d _ g e t a f f i n i t y
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ e x i t _ g r o u p _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
jg s y s _ e x i t _ g r o u p # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e t _ t i d _ a d d r e s s _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # i n t *
jg s y s _ s e t _ t i d _ a d d r e s s # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ e p o l l _ c r e a t e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
jg s y s _ e p o l l _ c r e a t e # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ e p o l l _ c t l _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # s t r u c t e p o l l _ e v e n t *
jg s y s _ e p o l l _ c t l # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ e p o l l _ w a i t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # s t r u c t e p o l l _ e v e n t *
lgfr % r4 ,% r4 # i n t
lgfr % r5 ,% r5 # i n t
jg s y s _ e p o l l _ w a i t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ l o o k u p _ d c o o k i e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
sllg % r2 ,% r2 ,3 2 # g e t h i g h w o r d o f 64 b i t d c o o k i e
or % r2 ,% r3 # g e t l o w w o r d o f 64 b i t d c o o k i e
llgtr % r3 ,% r4 # c h a r *
llgfr % r4 ,% r5 # s i z e _ t
jg s y s _ l o o k u p _ d c o o k i e
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f a d v i s e 6 4 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
sllg % r3 ,% r3 ,3 2 # g e t h i g h w o r d o f 64 b i t l o f f _ t
or % r3 ,% r4 # g e t l o w w o r d o f 64 b i t l o f f _ t
llgfr % r4 ,% r5 # s i z e _ t ( u n s i g n e d l o n g )
lgfr % r5 ,% r6 # i n t
2005-07-13 01:10:46 -07:00
jg s y s32 _ f a d v i s e 6 4
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f a d v i s e 6 4 _ 6 4 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # s t r u c t f a d v i s e 64 _ 6 4 _ a r g s *
2005-07-13 01:10:46 -07:00
jg s y s32 _ f a d v i s e 6 4 _ 6 4
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c l o c k _ s e t t i m e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # c l o c k i d _ t ( i n t )
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ c l o c k _ s e t t i m e
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c l o c k _ g e t t i m e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # c l o c k i d _ t ( i n t )
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ c l o c k _ g e t t i m e
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c l o c k _ g e t r e s _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # c l o c k i d _ t ( i n t )
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ c l o c k _ g e t r e s
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ c l o c k _ n a n o s l e e p _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # c l o c k i d _ t ( i n t )
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # s t r u c t c o m p a t _ t i m e s p e c *
llgtr % r5 ,% r5 # s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ c l o c k _ n a n o s l e e p
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ t i m e r _ c r e a t e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # t i m e r _ t ( i n t )
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ s i g e v e n t *
llgtr % r4 ,% r4 # t i m e r _ t *
2006-01-09 20:52:08 -08:00
jg c o m p a t _ s y s _ t i m e r _ c r e a t e
2005-04-16 15:20:36 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ t i m e r _ s e t t i m e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # t i m e r _ t ( i n t )
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # s t r u c t c o m p a t _ i t i m e r s p e c *
llgtr % r5 ,% r5 # s t r u c t c o m p a t _ i t i m e r s p e c *
jg c o m p a t _ s y s _ t i m e r _ s e t t i m e
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ t i m e r _ g e t t i m e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # t i m e r _ t ( i n t )
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ i t i m e r s p e c *
jg c o m p a t _ s y s _ t i m e r _ g e t t i m e
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ t i m e r _ g e t o v e r r u n _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # t i m e r _ t ( i n t )
jg s y s _ t i m e r _ g e t o v e r r u n
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ t i m e r _ d e l e t e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # t i m e r _ t ( i n t )
jg s y s _ t i m e r _ d e l e t e
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ i o _ s e t u p _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # u 32 *
jg c o m p a t _ s y s _ i o _ s e t u p
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ i o _ d e s t r o y _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # ( a i o _ c o n t e x t _ t ) u 32
jg s y s _ i o _ d e s t r o y
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ i o _ g e t e v e n t s _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # ( a i o _ c o n t e x t _ t ) u 32
lgfr % r3 ,% r3 # l o n g
lgfr % r4 ,% r4 # l o n g
llgtr % r5 ,% r5 # s t r u c t i o _ e v e n t *
llgtr % r6 ,% r6 # s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ i o _ g e t e v e n t s
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ i o _ s u b m i t _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # ( a i o _ c o n t e x t _ t ) u 32
lgfr % r3 ,% r3 # l o n g
llgtr % r4 ,% r4 # s t r u c t i o c b * *
jg c o m p a t _ s y s _ i o _ s u b m i t
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ i o _ c a n c e l _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # ( a i o _ c o n t e x t _ t ) u 32
llgtr % r3 ,% r3 # s t r u c t i o c b *
llgtr % r4 ,% r4 # s t r u c t i o _ e v e n t *
jg s y s _ i o _ c a n c e l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s t a t f s64 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgfr % r3 ,% r3 # c o m p a t _ s i z e _ t
llgtr % r4 ,% r4 # s t r u c t c o m p a t _ s t a t f s 64 *
jg c o m p a t _ s y s _ s t a t f s64
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ f s t a t f s64 _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d i n t f d
llgfr % r3 ,% r3 # c o m p a t _ s i z e _ t
llgtr % r4 ,% r4 # s t r u c t c o m p a t _ s t a t f s 64 *
jg c o m p a t _ s y s _ f s t a t f s64
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ m q _ o p e n _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
llgfr % r4 ,% r4 # m o d e _ t
llgtr % r5 ,% r5 # s t r u c t c o m p a t _ m q _ a t t r *
jg c o m p a t _ s y s _ m q _ o p e n
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ m q _ u n l i n k _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
jg s y s _ m q _ u n l i n k
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ m q _ t i m e d s e n d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # m q d _ t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # s i z e _ t
llgfr % r5 ,% r5 # u n s i g n e d i n t
llgtr % r6 ,% r6 # c o n s t s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ m q _ t i m e d s e n d
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ m q _ t i m e d r e c e i v e _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # m q d _ t
llgtr % r3 ,% r3 # c h a r *
llgfr % r4 ,% r4 # s i z e _ t
llgtr % r5 ,% r5 # u n s i g n e d i n t *
llgtr % r6 ,% r6 # c o n s t s t r u c t c o m p a t _ t i m e s p e c *
jg c o m p a t _ s y s _ m q _ t i m e d r e c e i v e
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ m q _ n o t i f y _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # m q d _ t
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ s i g e v e n t *
jg c o m p a t _ s y s _ m q _ n o t i f y
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ m q _ g e t s e t a t t r _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # m q d _ t
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ m q _ a t t r *
llgtr % r4 ,% r4 # s t r u c t c o m p a t _ m q _ a t t r *
jg c o m p a t _ s y s _ m q _ g e t s e t a t t r
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ a d d _ k e y _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c o n s t c h a r *
llgtr % r4 ,% r4 # c o n s t v o i d *
llgfr % r5 ,% r5 # s i z e _ t
llgfr % r6 ,% r6 # ( k e y _ s e r i a l _ t ) u 32
jg s y s _ a d d _ k e y
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ r e q u e s t _ k e y _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgtr % r2 ,% r2 # c o n s t c h a r *
llgtr % r3 ,% r3 # c o n s t c h a r *
llgtr % r4 ,% r4 # c o n s t v o i d *
llgfr % r5 ,% r5 # ( k e y _ s e r i a l _ t ) u 32
jg s y s _ r e q u e s t _ k e y
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ r e m a p _ f i l e _ p a g e s _ w r a p p e r )
2005-04-16 15:20:36 -07:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgfr % r4 ,% r4 # u n s i g n e d l o n g
llgfr % r5 ,% r5 # u n s i g n e d l o n g
llgfr % r6 ,% r6 # u n s i g n e d l o n g
jg s y s _ r e m a p _ f i l e _ p a g e s
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ w a i t i d _ w r a p p e r )
2005-04-16 15:20:36 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # p i d _ t
llgtr % r4 ,% r4 # s i g i n f o _ e m u 31 _ t *
lgfr % r5 ,% r5 # i n t
llgtr % r6 ,% r6 # s t r u c t r u s a g e _ e m u 31 *
jg c o m p a t _ s y s _ w a i t i d
2005-06-25 14:58:11 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ k e x e c _ l o a d _ w r a p p e r )
2005-06-25 14:58:11 -07:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgtr % r4 ,% r4 # s t r u c t k e x e c _ s e g m e n t *
llgfr % r5 ,% r5 # u n s i g n e d l o n g
jg c o m p a t _ s y s _ k e x e c _ l o a d
2005-08-01 21:11:34 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ i o p r i o _ s e t _ w r a p p e r )
2005-08-01 21:11:34 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
lgfr % r4 ,% r4 # i n t
jg s y s _ i o p r i o _ s e t
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ i o p r i o _ g e t _ w r a p p e r )
2005-08-01 21:11:34 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
jg s y s _ i o p r i o _ g e t
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ i n o t i f y _ a d d _ w a t c h _ w r a p p e r )
2005-08-01 21:11:34 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # u 32
jg s y s _ i n o t i f y _ a d d _ w a t c h
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ i n o t i f y _ r m _ w a t c h _ w r a p p e r )
2005-08-01 21:11:34 -07:00
lgfr % r2 ,% r2 # i n t
llgfr % r3 ,% r3 # u 32
jg s y s _ i n o t i f y _ r m _ w a t c h
2006-02-01 03:06:38 -08:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ o p e n a t _ w r a p p e r )
2006-02-03 03:03:52 -08:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
2006-02-01 03:06:38 -08:00
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
lgfr % r5 ,% r5 # i n t
jg c o m p a t _ s y s _ o p e n a t
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ m k d i r a t _ w r a p p e r )
2006-02-01 03:06:38 -08:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
jg s y s _ m k d i r a t
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ m k n o d a t _ w r a p p e r )
2006-02-01 03:06:38 -08:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
llgfr % r5 ,% r5 # u n s i g n e d i n t
jg s y s _ m k n o d a t
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ f c h o w n a t _ w r a p p e r )
2006-02-01 03:06:38 -08:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # u i d _ t
llgfr % r5 ,% r5 # g i d _ t
lgfr % r6 ,% r6 # i n t
jg s y s _ f c h o w n a t
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ f u t i m e s a t _ w r a p p e r )
2006-02-03 03:03:52 -08:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
2006-02-01 03:06:38 -08:00
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # s t r u c t t i m e v a l *
jg c o m p a t _ s y s _ f u t i m e s a t
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ f s t a t a t 6 4 _ w r a p p e r )
2006-02-03 03:03:52 -08:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
2006-02-01 03:06:38 -08:00
llgtr % r3 ,% r3 # c h a r *
2006-02-12 12:35:03 +01:00
llgtr % r4 ,% r4 # s t r u c t s t a t 64 *
2006-02-01 03:06:38 -08:00
lgfr % r5 ,% r5 # i n t
2006-02-17 13:52:50 -08:00
jg s y s32 _ f s t a t a t 6 4
2006-02-01 03:06:38 -08:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ u n l i n k a t _ w r a p p e r )
2006-02-01 03:06:38 -08:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
jg s y s _ u n l i n k a t
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ r e n a m e a t _ w r a p p e r )
2006-02-01 03:06:38 -08:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # c o n s t c h a r *
jg s y s _ r e n a m e a t
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ l i n k a t _ w r a p p e r )
2006-02-01 03:06:38 -08:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # c o n s t c h a r *
2006-02-24 13:04:21 -08:00
lgfr % r6 ,% r6 # i n t
2006-02-01 03:06:38 -08:00
jg s y s _ l i n k a t
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ s y m l i n k a t _ w r a p p e r )
2006-02-01 03:06:38 -08:00
llgtr % r2 ,% r2 # c o n s t c h a r *
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # c o n s t c h a r *
jg s y s _ s y m l i n k a t
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ r e a d l i n k a t _ w r a p p e r )
2006-02-01 03:06:38 -08:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgtr % r4 ,% r4 # c h a r *
lgfr % r5 ,% r5 # i n t
jg s y s _ r e a d l i n k a t
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ f c h m o d a t _ w r a p p e r )
2006-02-01 03:06:38 -08:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
llgfr % r4 ,% r4 # m o d e _ t
jg s y s _ f c h m o d a t
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ f a c c e s s a t _ w r a p p e r )
2006-02-01 03:06:38 -08:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r *
lgfr % r4 ,% r4 # i n t
jg s y s _ f a c c e s s a t
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ p s e l e c t 6 _ w r a p p e r )
2006-02-01 03:06:38 -08:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # f d _ s e t *
llgtr % r4 ,% r4 # f d _ s e t *
llgtr % r5 ,% r5 # f d _ s e t *
llgtr % r6 ,% r6 # s t r u c t t i m e s p e c *
llgt % r0 ,1 6 4 ( % r15 ) # v o i d *
stg % r0 ,1 6 0 ( % r15 )
jg c o m p a t _ s y s _ p s e l e c t 6
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ p p o l l _ w r a p p e r )
2006-02-01 03:06:38 -08:00
llgtr % r2 ,% r2 # s t r u c t p o l l f d *
llgfr % r3 ,% r3 # u n s i g n e d i n t
llgtr % r4 ,% r4 # s t r u c t t i m e s p e c *
llgtr % r5 ,% r5 # c o n s t s i g s e t _ t *
llgfr % r6 ,% r6 # s i z e _ t
jg c o m p a t _ s y s _ p p o l l
2006-02-11 17:56:02 -08:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ u n s h a r e _ w r a p p e r )
2006-02-11 17:56:02 -08:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
jg s y s _ u n s h a r e
2006-04-27 18:40:33 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s e t _ r o b u s t _ l i s t _ w r a p p e r )
2006-04-27 18:40:33 -07:00
llgtr % r2 ,% r2 # s t r u c t c o m p a t _ r o b u s t _ l i s t _ h e a d *
llgfr % r3 ,% r3 # s i z e _ t
jg c o m p a t _ s y s _ s e t _ r o b u s t _ l i s t
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ g e t _ r o b u s t _ l i s t _ w r a p p e r )
2006-04-27 18:40:33 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o m p a t _ u p t r _ t _ t *
llgtr % r4 ,% r4 # c o m p a t _ s i z e _ t *
jg c o m p a t _ s y s _ g e t _ r o b u s t _ l i s t
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ s p l i c e _ w r a p p e r )
2006-04-27 18:40:33 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # l o f f _ t *
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # l o f f _ t *
llgfr % r6 ,% r6 # s i z e _ t
llgf % r0 ,1 6 4 ( % r15 ) # u n s i g n e d i n t
stg % r0 ,1 6 0 ( % r15 )
jg s y s _ s p l i c e
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ s y n c _ f i l e _ r a n g e _ w r a p p e r )
2006-04-27 18:40:33 -07:00
lgfr % r2 ,% r2 # i n t
sllg % r3 ,% r3 ,3 2 # g e t h i g h w o r d o f 64 b i t l o f f _ t
or % r3 ,% r4 # g e t l o w w o r d o f 64 b i t l o f f _ t
sllg % r4 ,% r5 ,3 2 # g e t h i g h w o r d o f 64 b i t l o f f _ t
or % r4 ,% r6 # g e t l o w w o r d o f 64 b i t l o f f _ t
llgf % r5 ,1 6 4 ( % r15 ) # u n s i g n e d i n t
jg s y s _ s y n c _ f i l e _ r a n g e
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ t e e _ w r a p p e r )
2006-04-27 18:40:33 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
llgfr % r4 ,% r4 # s i z e _ t
llgfr % r5 ,% r5 # u n s i g n e d i n t
jg s y s _ t e e
2006-05-15 09:44:05 -07:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ v m s p l i c e _ w r a p p e r )
2006-05-15 09:44:05 -07:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o m p a t _ i o v e c *
llgfr % r4 ,% r4 # u n s i g n e d i n t
llgfr % r5 ,% r5 # u n s i g n e d i n t
jg c o m p a t _ s y s _ v m s p l i c e
2006-10-04 20:02:09 +02:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ g e t c p u _ w r a p p e r )
2006-10-04 20:02:09 +02:00
llgtr % r2 ,% r2 # u n s i g n e d *
llgtr % r3 ,% r3 # u n s i g n e d *
llgtr % r4 ,% r4 # s t r u c t g e t c p u _ c a c h e *
2006-10-27 12:39:10 +02:00
jg s y s _ g e t c p u
2007-03-19 13:18:56 +01:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ e p o l l _ p w a i t _ w r a p p e r )
2007-03-19 13:18:56 +01:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ e p o l l _ e v e n t *
lgfr % r4 ,% r4 # i n t
lgfr % r5 ,% r5 # i n t
llgtr % r6 ,% r6 # c o m p a t _ s i g s e t _ t *
llgf % r0 ,1 6 4 ( % r15 ) # c o m p a t _ s i z e _ t
stg % r0 ,1 6 0 ( % r15 )
jg c o m p a t _ s y s _ e p o l l _ p w a i t
2007-03-19 13:19:07 +01:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ u t i m e s _ w r a p p e r )
2007-03-19 13:19:07 +01:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ t i m e v a l *
jg c o m p a t _ s y s _ u t i m e s
2007-05-21 11:25:20 +02:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ u t i m e n s a t _ w r a p p e r )
2007-05-21 11:25:20 +02:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgtr % r3 ,% r3 # c h a r *
llgtr % r4 ,% r4 # s t r u c t c o m p a t _ t i m e s p e c *
lgfr % r5 ,% r5 # i n t
jg c o m p a t _ s y s _ u t i m e n s a t
2007-05-21 11:25:21 +02:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s i g n a l f d _ w r a p p e r )
2007-05-21 11:25:21 +02:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o m p a t _ s i g s e t _ t *
llgfr % r4 ,% r4 # c o m p a t _ s i z e _ t
jg c o m p a t _ s y s _ s i g n a l f d
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ e v e n t f d _ w r a p p e r )
2007-05-21 11:25:21 +02:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
jg s y s _ e v e n t f d
2007-07-27 12:29:16 +02:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ f a l l o c a t e _ w r a p p e r )
2007-07-27 12:29:16 +02:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
sllg % r4 ,% r4 ,3 2 # g e t h i g h w o r d o f 64 b i t l o f f _ t
lr % r4 ,% r5 # g e t l o w w o r d o f 64 b i t l o f f _ t
sllg % r5 ,% r6 ,3 2 # g e t h i g h w o r d o f 64 b i t l o f f _ t
l % r5 ,1 6 4 ( % r15 ) # g e t l o w w o r d o f 64 b i t l o f f _ t
jg s y s _ f a l l o c a t e
2008-02-09 18:24:28 +01:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ t i m e r f d _ c r e a t e _ w r a p p e r )
2008-02-09 18:24:28 +01:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
jg s y s _ t i m e r f d _ c r e a t e
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ t i m e r f d _ s e t t i m e _ w r a p p e r )
2008-02-09 18:24:28 +01:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # s t r u c t c o m p a t _ i t i m e r s p e c *
llgtr % r5 ,% r5 # s t r u c t c o m p a t _ i t i m e r s p e c *
jg c o m p a t _ s y s _ t i m e r f d _ s e t t i m e
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ t i m e r f d _ g e t t i m e _ w r a p p e r )
2008-02-09 18:24:28 +01:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ i t i m e r s p e c *
jg c o m p a t _ s y s _ t i m e r f d _ g e t t i m e
2008-08-01 16:39:15 +02:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ s i g n a l f d4 _ w r a p p e r )
2008-08-01 16:39:15 +02:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o m p a t _ s i g s e t _ t *
llgfr % r4 ,% r4 # c o m p a t _ s i z e _ t
lgfr % r5 ,% r5 # i n t
jg c o m p a t _ s y s _ s i g n a l f d4
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ e v e n t f d2 _ w r a p p e r )
2008-08-01 16:39:15 +02:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
lgfr % r3 ,% r3 # i n t
jg s y s _ e v e n t f d2
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ i n o t i f y _ i n i t 1 _ w r a p p e r )
2008-08-01 16:39:15 +02:00
lgfr % r2 ,% r2 # i n t
jg s y s _ i n o t i f y _ i n i t 1
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ p i p e 2 _ w r a p p e r )
2008-08-01 16:39:15 +02:00
llgtr % r2 ,% r2 # u 32 *
lgfr % r3 ,% r3 # i n t
jg s y s _ p i p e 2 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ d u p3 _ w r a p p e r )
2008-08-01 16:39:15 +02:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
lgfr % r4 ,% r4 # i n t
jg s y s _ d u p3 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ e p o l l _ c r e a t e 1 _ w r a p p e r )
2008-08-01 16:39:15 +02:00
lgfr % r2 ,% r2 # i n t
jg s y s _ e p o l l _ c r e a t e 1 # b r a n c h t o s y s t e m c a l l
2009-01-23 16:40:27 +01:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ r e a d a h e a d _ w r a p p e r )
2009-01-23 16:40:27 +01:00
lgfr % r2 ,% r2 # i n t
llgfr % r3 ,% r3 # u 32
llgfr % r4 ,% r4 # u 32
lgfr % r5 ,% r5 # s 32
jg s y s32 _ r e a d a h e a d # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ s e n d f i l e 6 4 _ w r a p p e r )
2009-01-23 16:40:27 +01:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
llgtr % r4 ,% r4 # c o m p a t _ l o f f _ t *
lgfr % r5 ,% r5 # s 32
jg s y s32 _ s e n d f i l e 6 4 # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ t k i l l _ w r a p p e r )
2009-01-23 16:40:27 +01:00
lgfr % r2 ,% r2 # p i d _ t
lgfr % r3 ,% r3 # i n t
jg s y s _ t k i l l # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ t g k i l l _ w r a p p e r )
2009-01-23 16:40:27 +01:00
lgfr % r2 ,% r2 # p i d _ t
lgfr % r3 ,% r3 # p i d _ t
lgfr % r4 ,% r4 # i n t
jg s y s _ t g k i l l # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ k e y c t l _ w r a p p e r )
2009-01-23 16:40:27 +01:00
llgfr % r2 ,% r2 # u 32
llgfr % r3 ,% r3 # u 32
llgfr % r4 ,% r4 # u 32
llgfr % r5 ,% r5 # u 32
llgfr % r6 ,% r6 # u 32
jg c o m p a t _ s y s _ k e y c t l # b r a n c h t o s y s t e m c a l l
2009-04-14 15:36:17 +02:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ p r e a d v _ w r a p p e r )
2009-04-14 15:36:17 +02:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgtr % r3 ,% r3 # c o m p a t _ i o v e c *
llgfr % r4 ,% r4 # u n s i g n e d l o n g
llgfr % r5 ,% r5 # u 32
llgfr % r6 ,% r6 # u 32
jg c o m p a t _ s y s _ p r e a d v # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ p w r i t e v _ w r a p p e r )
2009-04-14 15:36:17 +02:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgtr % r3 ,% r3 # c o m p a t _ i o v e c *
llgfr % r4 ,% r4 # u n s i g n e d l o n g
llgfr % r5 ,% r5 # u 32
llgfr % r6 ,% r6 # u 32
jg c o m p a t _ s y s _ p w r i t e v # b r a n c h t o s y s t e m c a l l
2009-06-12 10:26:48 +02:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ r t _ t g s i g q u e u e i n f o _ w r a p p e r )
2009-06-12 10:26:48 +02:00
lgfr % r2 ,% r2 # c o m p a t _ p i d _ t
lgfr % r3 ,% r3 # c o m p a t _ p i d _ t
lgfr % r4 ,% r4 # i n t
llgtr % r5 ,% r5 # s t r u c t c o m p a t _ s i g i n f o *
jg c o m p a t _ s y s _ r t _ t g s i g q u e u e i n f o _ w r a p p e r # b r a n c h t o s y s t e m c a l l
2009-06-12 10:26:49 +02:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ p e r f _ e v e n t _ o p e n _ w r a p p e r )
perf: Do the big rename: Performance Counters -> Performance Events
Bye-bye Performance Counters, welcome Performance Events!
In the past few months the perfcounters subsystem has grown out its
initial role of counting hardware events, and has become (and is
becoming) a much broader generic event enumeration, reporting, logging,
monitoring, analysis facility.
Naming its core object 'perf_counter' and naming the subsystem
'perfcounters' has become more and more of a misnomer. With pending
code like hw-breakpoints support the 'counter' name is less and
less appropriate.
All in one, we've decided to rename the subsystem to 'performance
events' and to propagate this rename through all fields, variables
and API names. (in an ABI compatible fashion)
The word 'event' is also a bit shorter than 'counter' - which makes
it slightly more convenient to write/handle as well.
Thanks goes to Stephane Eranian who first observed this misnomer and
suggested a rename.
User-space tooling and ABI compatibility is not affected - this patch
should be function-invariant. (Also, defconfigs were not touched to
keep the size down.)
This patch has been generated via the following script:
FILES=$(find * -type f | grep -vE 'oprofile|[^K]config')
sed -i \
-e 's/PERF_EVENT_/PERF_RECORD_/g' \
-e 's/PERF_COUNTER/PERF_EVENT/g' \
-e 's/perf_counter/perf_event/g' \
-e 's/nb_counters/nb_events/g' \
-e 's/swcounter/swevent/g' \
-e 's/tpcounter_event/tp_event/g' \
$FILES
for N in $(find . -name perf_counter.[ch]); do
M=$(echo $N | sed 's/perf_counter/perf_event/g')
mv $N $M
done
FILES=$(find . -name perf_event.*)
sed -i \
-e 's/COUNTER_MASK/REG_MASK/g' \
-e 's/COUNTER/EVENT/g' \
-e 's/\<event\>/event_id/g' \
-e 's/counter/event/g' \
-e 's/Counter/Event/g' \
$FILES
... to keep it as correct as possible. This script can also be
used by anyone who has pending perfcounters patches - it converts
a Linux kernel tree over to the new naming. We tried to time this
change to the point in time where the amount of pending patches
is the smallest: the end of the merge window.
Namespace clashes were fixed up in a preparatory patch - and some
stylistic fallout will be fixed up in a subsequent patch.
( NOTE: 'counters' are still the proper terminology when we deal
with hardware registers - and these sed scripts are a bit
over-eager in renaming them. I've undone some of that, but
in case there's something left where 'counter' would be
better than 'event' we can undo that on an individual basis
instead of touching an otherwise nicely automated patch. )
Suggested-by: Stephane Eranian <eranian@google.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Paul Mackerras <paulus@samba.org>
Reviewed-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: <linux-arch@vger.kernel.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-09-21 12:02:48 +02:00
llgtr % r2 ,% r2 # c o n s t s t r u c t p e r f _ e v e n t _ a t t r *
2009-06-12 10:26:49 +02:00
lgfr % r3 ,% r3 # p i d _ t
lgfr % r4 ,% r4 # i n t
lgfr % r5 ,% r5 # i n t
llgfr % r6 ,% r6 # u n s i g n e d l o n g
perf: Do the big rename: Performance Counters -> Performance Events
Bye-bye Performance Counters, welcome Performance Events!
In the past few months the perfcounters subsystem has grown out its
initial role of counting hardware events, and has become (and is
becoming) a much broader generic event enumeration, reporting, logging,
monitoring, analysis facility.
Naming its core object 'perf_counter' and naming the subsystem
'perfcounters' has become more and more of a misnomer. With pending
code like hw-breakpoints support the 'counter' name is less and
less appropriate.
All in one, we've decided to rename the subsystem to 'performance
events' and to propagate this rename through all fields, variables
and API names. (in an ABI compatible fashion)
The word 'event' is also a bit shorter than 'counter' - which makes
it slightly more convenient to write/handle as well.
Thanks goes to Stephane Eranian who first observed this misnomer and
suggested a rename.
User-space tooling and ABI compatibility is not affected - this patch
should be function-invariant. (Also, defconfigs were not touched to
keep the size down.)
This patch has been generated via the following script:
FILES=$(find * -type f | grep -vE 'oprofile|[^K]config')
sed -i \
-e 's/PERF_EVENT_/PERF_RECORD_/g' \
-e 's/PERF_COUNTER/PERF_EVENT/g' \
-e 's/perf_counter/perf_event/g' \
-e 's/nb_counters/nb_events/g' \
-e 's/swcounter/swevent/g' \
-e 's/tpcounter_event/tp_event/g' \
$FILES
for N in $(find . -name perf_counter.[ch]); do
M=$(echo $N | sed 's/perf_counter/perf_event/g')
mv $N $M
done
FILES=$(find . -name perf_event.*)
sed -i \
-e 's/COUNTER_MASK/REG_MASK/g' \
-e 's/COUNTER/EVENT/g' \
-e 's/\<event\>/event_id/g' \
-e 's/counter/event/g' \
-e 's/Counter/Event/g' \
$FILES
... to keep it as correct as possible. This script can also be
used by anyone who has pending perfcounters patches - it converts
a Linux kernel tree over to the new naming. We tried to time this
change to the point in time where the amount of pending patches
is the smallest: the end of the merge window.
Namespace clashes were fixed up in a preparatory patch - and some
stylistic fallout will be fixed up in a subsequent patch.
( NOTE: 'counters' are still the proper terminology when we deal
with hardware registers - and these sed scripts are a bit
over-eager in renaming them. I've undone some of that, but
in case there's something left where 'counter' would be
better than 'event' we can undo that on an individual basis
instead of touching an otherwise nicely automated patch. )
Suggested-by: Stephane Eranian <eranian@google.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Paul Mackerras <paulus@samba.org>
Reviewed-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David Howells <dhowells@redhat.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: <linux-arch@vger.kernel.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-09-21 12:02:48 +02:00
jg s y s _ p e r f _ e v e n t _ o p e n # b r a n c h t o s y s t e m c a l l
2009-09-22 22:58:41 +02:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ c l o n e _ w r a p p e r )
2009-09-22 22:58:41 +02:00
llgfr % r2 ,% r2 # u n s i g n e d l o n g
llgfr % r3 ,% r3 # u n s i g n e d l o n g
llgtr % r4 ,% r4 # i n t *
llgtr % r5 ,% r5 # i n t *
jg s y s _ c l o n e # b r a n c h t o s y s t e m c a l l
2009-09-22 22:58:42 +02:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s32 _ e x e c v e _ w r a p p e r )
2009-09-22 22:58:42 +02:00
llgtr % r2 ,% r2 # c h a r *
llgtr % r3 ,% r3 # c o m p a t _ u p t r _ t *
llgtr % r4 ,% r4 # c o m p a t _ u p t r _ t *
jg s y s32 _ e x e c v e # b r a n c h t o s y s t e m c a l l
2010-08-13 10:06:41 +02:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ f a n o t i f y _ i n i t _ w r a p p e r )
2010-08-13 10:06:41 +02:00
llgfr % r2 ,% r2 # u n s i g n e d i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
jg s y s _ f a n o t i f y _ i n i t # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ f a n o t i f y _ m a r k _ w r a p p e r )
2010-08-13 10:06:41 +02:00
lgfr % r2 ,% r2 # i n t
llgfr % r3 ,% r3 # u n s i g n e d i n t
sllg % r4 ,% r4 ,3 2 # g e t h i g h w o r d o f 64 b i t m a s k
lr % r4 ,% r5 # g e t l o w w o r d o f 64 b i t m a s k
llgfr % r5 ,% r6 # u n s i g n e d i n t
llgt % r6 ,1 6 4 ( % r15 ) # c h a r *
jg s y s _ f a n o t i f y _ m a r k # b r a n c h t o s y s t e m c a l l
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ p r l i m i t 6 4 _ w r a p p e r )
2010-08-13 10:06:41 +02:00
lgfr % r2 ,% r2 # p i d _ t
llgfr % r3 ,% r3 # u n s i g n e d i n t
llgtr % r4 ,% r4 # c o n s t s t r u c t r l i m i t 64 _ _ u s e r *
llgtr % r5 ,% r5 # s t r u c t r l i m i t 64 _ _ u s e r *
jg s y s _ p r l i m i t 6 4 # b r a n c h t o s y s t e m c a l l
2011-03-23 10:15:55 +01:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ n a m e _ t o _ h a n d l e _ a t _ w r a p p e r )
2011-03-23 10:15:55 +01:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # c o n s t c h a r _ _ u s e r *
llgtr % r4 ,% r4 # s t r u c t f i l e _ h a n d l e _ _ u s e r *
llgtr % r5 ,% r5 # i n t _ _ u s e r *
lgfr % r6 ,% r6 # i n t
jg s y s _ n a m e _ t o _ h a n d l e _ a t
2011-03-23 10:15:56 +01:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ o p e n _ b y _ h a n d l e _ a t _ w r a p p e r )
2011-03-23 10:15:56 +01:00
lgfr % r2 ,% r2 # i n t
llgtr % r3 ,% r3 # s t r u c t f i l e _ h a n d l e _ _ u s e r *
lgfr % r4 ,% r4 # i n t
jg c o m p a t _ s y s _ o p e n _ b y _ h a n d l e _ a t
2011-03-23 10:15:57 +01:00
2011-07-24 10:48:19 +02:00
ENTRY( c o m p a t _ s y s _ c l o c k _ a d j t i m e _ w r a p p e r )
2011-03-23 10:15:57 +01:00
lgfr % r2 ,% r2 # c l o c k i d _ t ( i n t )
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ t i m e x _ _ u s e r *
jg c o m p a t _ s y s _ c l o c k _ a d j t i m e
2011-03-23 10:15:58 +01:00
2011-07-24 10:48:19 +02:00
ENTRY( s y s _ s y n c f s _ w r a p p e r )
2011-03-23 10:15:58 +01:00
lgfr % r2 ,% r2 # i n t
jg s y s _ s y n c f s
2011-05-27 19:28:27 -07:00
2011-10-30 15:16:09 +01:00
ENTRY( s y s _ s e t n s _ w r a p p e r )
2011-05-27 19:28:27 -07:00
lgfr % r2 ,% r2 # i n t
lgfr % r3 ,% r3 # i n t
jg s y s _ s e t n s
2011-11-14 11:18:59 +01:00
ENTRY( c o m p a t _ s y s _ p r o c e s s _ v m _ r e a d v _ w r a p p e r )
lgfr % r2 ,% r2 # c o m p a t _ p i d _ t
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ i o v e c _ _ u s e r *
llgfr % r4 ,% r4 # u n s i g n e d l o n g
llgtr % r5 ,% r5 # s t r u c t c o m p a t _ i o v e c _ _ u s e r *
llgfr % r6 ,% r6 # u n s i g n e d l o n g
llgf % r0 ,1 6 4 ( % r15 ) # u n s i g n e d l o n g
stg % r0 ,1 6 0 ( % r15 )
jg s y s _ p r o c e s s _ v m _ r e a d v
ENTRY( c o m p a t _ s y s _ p r o c e s s _ v m _ w r i t e v _ w r a p p e r )
lgfr % r2 ,% r2 # c o m p a t _ p i d _ t
llgtr % r3 ,% r3 # s t r u c t c o m p a t _ i o v e c _ _ u s e r *
llgfr % r4 ,% r4 # u n s i g n e d l o n g
llgtr % r5 ,% r5 # s t r u c t c o m p a t _ i o v e c _ _ u s e r *
llgfr % r6 ,% r6 # u n s i g n e d l o n g
llgf % r0 ,1 6 4 ( % r15 ) # u n s i g n e d l o n g
stg % r0 ,1 6 0 ( % r15 )
jg s y s _ p r o c e s s _ v m _ w r i t e v