--- zzzz-none-000/linux-2.6.28.10/include/net/dst.h 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/include/net/dst.h 2010-08-11 11:45:26.000000000 +0000 @@ -272,13 +272,13 @@ struct flowi; #ifndef CONFIG_XFRM -static inline int xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl, - struct sock *sk, int flags) +static inline int xfrm_lookup(struct dst_entry **dst_p __attribute__((unused)), struct flowi *fl __attribute__((unused)), + struct sock *sk __attribute__((unused)), int flags __attribute__((unused))) { return 0; } -static inline int __xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl, - struct sock *sk, int flags) +static inline int __xfrm_lookup(struct dst_entry **dst_p __attribute__((unused)), struct flowi *fl __attribute__((unused)), + struct sock *sk __attribute__((unused)), int flags __attribute__((unused))) { return 0; }