From: Stephen Hemminger <stephen@networkplumber.org>
To: greearb@candelatech.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] Fix build on fedora-14 (and other older systems)
Date: Sun, 3 Sep 2017 08:50:04 -0700 [thread overview]
Message-ID: <20170903085004.5b5ded4f@xeon-e3> (raw)
In-Reply-To: <1504361702-30266-1-git-send-email-greearb@candelatech.com>
On Sat, 2 Sep 2017 07:15:02 -0700
greearb@candelatech.com wrote:
> diff --git a/include/linux/sysinfo.h b/include/linux/sysinfo.h
> index 934335a..3596b02 100644
> --- a/include/linux/sysinfo.h
> +++ b/include/linux/sysinfo.h
> @@ -3,6 +3,14 @@
>
> #include <linux/types.h>
>
> +/* So we can compile on older OSs, hopefully this is correct. --Ben */
> +#ifndef __kernel_long_t
> +typedef long __kernel_long_t;
> +#endif
> +#ifndef __kernel_ulong_t
> +typedef unsigned long __kernel_ulong_t;
> +#endif
> +
> #define SI_LOAD_SHIFT 16
> struct sysinfo {
> __kernel_long_t uptime; /* Seconds since boot */
I am not accepting this patch because all files in include/linux are automatically
regenerated from kernel 'make install_headers'. No exceptions. If you want to change
a header in include/linux it has to go through upstream kernel inclusion.
next prev parent reply other threads:[~2017-09-03 15:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-02 14:15 [PATCH] Fix build on fedora-14 (and other older systems) greearb
2017-09-02 17:03 ` Michal Kubecek
2017-09-03 15:50 ` Stephen Hemminger [this message]
2017-09-03 18:28 ` Ben Greear
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170903085004.5b5ded4f@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=greearb@candelatech.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.