diff mbox

[1/4] Move sysdeps/generic/bits/hwcap.h to top-level bits/.

Message ID c046e75506310e1bdbee79fec44f3dc2015bf667.1463145139.git.zackw@panix.com
State New
Headers show

Commit Message

Zack Weinberg May 13, 2016, 1:26 p.m. UTC
This file was added to sysdeps/generic/bits in 2012.  This appears to have
been an oversight, as the entire sysdeps/generic/bits directory was moved to
the top level in 2005.  Accordingly the generic bits/hwcap.h belongs there
too.

ChangeLog:
	* sysdeps/generic/bits/hwcap.h: Move to top-level bits/ directory.
---
 bits/hwcap.h                 | 23 +++++++++++++++++++++++
 sysdeps/generic/bits/hwcap.h | 23 -----------------------
 2 files changed, 23 insertions(+), 23 deletions(-)
 create mode 100644 bits/hwcap.h
 delete mode 100644 sysdeps/generic/bits/hwcap.h

Comments

H.J. Lu May 13, 2016, 1:34 p.m. UTC | #1
On Fri, May 13, 2016 at 6:26 AM, Zack Weinberg <zackw@panix.com> wrote:
> This file was added to sysdeps/generic/bits in 2012.  This appears to have
> been an oversight, as the entire sysdeps/generic/bits directory was moved to
> the top level in 2005.  Accordingly the generic bits/hwcap.h belongs there
> too.
>
> ChangeLog:
>         * sysdeps/generic/bits/hwcap.h: Move to top-level bits/ directory.

Looks good to me.
Zack Weinberg May 13, 2016, 4:42 p.m. UTC | #2
On Fri, May 13, 2016 at 9:34 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Fri, May 13, 2016 at 6:26 AM, Zack Weinberg <zackw@panix.com> wrote:
>> This file was added to sysdeps/generic/bits in 2012.  This appears to have
>> been an oversight, as the entire sysdeps/generic/bits directory was moved to
>> the top level in 2005.  Accordingly the generic bits/hwcap.h belongs there
>> too.
>>
>> ChangeLog:
>>         * sysdeps/generic/bits/hwcap.h: Move to top-level bits/ directory.
>
> Looks good to me.

Gonna need someone to check this and any other good-as-is pieces in.

zw
Zack Weinberg June 22, 2016, 11:41 a.m. UTC | #3
On Fri, May 13, 2016 at 12:42 PM, Zack Weinberg <zackw@panix.com> wrote:
> On Fri, May 13, 2016 at 9:34 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>> On Fri, May 13, 2016 at 6:26 AM, Zack Weinberg <zackw@panix.com> wrote:
>>> This file was added to sysdeps/generic/bits in 2012.  This appears to have
>>> been an oversight, as the entire sysdeps/generic/bits directory was moved to
>>> the top level in 2005.  Accordingly the generic bits/hwcap.h belongs there
>>> too.
>>>
>>> ChangeLog:
>>>         * sysdeps/generic/bits/hwcap.h: Move to top-level bits/ directory.
>>
>> Looks good to me.
>
> Gonna need someone to check this and any other good-as-is pieces in.

Ping?
H.J. Lu June 22, 2016, 12:53 p.m. UTC | #4
On Wed, Jun 22, 2016 at 4:41 AM, Zack Weinberg <zackw@panix.com> wrote:
> On Fri, May 13, 2016 at 12:42 PM, Zack Weinberg <zackw@panix.com> wrote:
>> On Fri, May 13, 2016 at 9:34 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
>>> On Fri, May 13, 2016 at 6:26 AM, Zack Weinberg <zackw@panix.com> wrote:
>>>> This file was added to sysdeps/generic/bits in 2012.  This appears to have
>>>> been an oversight, as the entire sysdeps/generic/bits directory was moved to
>>>> the top level in 2005.  Accordingly the generic bits/hwcap.h belongs there
>>>> too.
>>>>
>>>> ChangeLog:
>>>>         * sysdeps/generic/bits/hwcap.h: Move to top-level bits/ directory.
>>>
>>> Looks good to me.
>>
>> Gonna need someone to check this and any other good-as-is pieces in.
>
> Ping?

I checked in it for you.  Please ping again with the patch generated by
"git format-patch" if you can't check it in yourself so that people can use
"git am" to apply your patch.
diff mbox

Patch

diff --git a/bits/hwcap.h b/bits/hwcap.h
new file mode 100644
index 0000000..39839ff
--- /dev/null
+++ b/bits/hwcap.h
@@ -0,0 +1,23 @@ 
+/* Defines for bits in AT_HWCAP.
+   Copyright (C) 2012-2016 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#ifndef _SYS_AUXV_H
+# error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead."
+#endif
+
+/* No bits defined for this architecture.  */
diff --git a/sysdeps/generic/bits/hwcap.h b/sysdeps/generic/bits/hwcap.h
deleted file mode 100644
index 39839ff..0000000
--- a/sysdeps/generic/bits/hwcap.h
+++ /dev/null
@@ -1,23 +0,0 @@ 
-/* Defines for bits in AT_HWCAP.
-   Copyright (C) 2012-2016 Free Software Foundation, Inc.
-   This file is part of the GNU C Library.
-
-   The GNU C Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Lesser General Public
-   License as published by the Free Software Foundation; either
-   version 2.1 of the License, or (at your option) any later version.
-
-   The GNU C Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Lesser General Public License for more details.
-
-   You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
-
-#ifndef _SYS_AUXV_H
-# error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead."
-#endif
-
-/* No bits defined for this architecture.  */